benchmark: add test-only and mock timers cases · nodejs/node@2cb96dd · GitHub
Skip to content

Commit 2cb96dd

Browse files
luanmunizaduh95
authored andcommitted
benchmark: add test-only and mock timers cases
The only benchmark covers creating selected and non-selected tests when running with --test-only. The mock timers benchmark covers enabling timer mocks, setTimeout, setInterval, setImmediate, scheduler.wait, AbortSignal.timeout, mocked Date.now(), setTime(), and runAll(). Refs: #55723 Signed-off-by: Luan Muniz <luan@luanmuniz.com.br> PR-URL: #64097 Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent ddf9f9d commit 2cb96dd

2 files changed

Lines changed: 301 additions & 0 deletions

File tree

Lines changed: 262 additions & 0 deletions

benchmark/test_runner/test-only.js

Lines changed: 39 additions & 0 deletions

0 commit comments

Comments
 (0)