File tree Expand file tree Collapse file tree
benchmark.js-plugin/benches Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { logDebug } from "@codspeed/core" ;
21import Benchmark from "benchmark" ;
32import { withCodSpeed } from ".." ;
43import parsePr from "./parsePr" ;
@@ -12,8 +11,6 @@ const LONG_BODY =
1211
1312const suite = withCodSpeed ( new Benchmark . Suite ( ) ) ;
1413
15- logDebug ( `PROCESS PID: ${ process . pid } in ${ __filename } ` ) ;
16-
1714suite
1815 . add ( "RegExp#test" , function ( ) {
1916 / o / . test ( "Hello World!" ) ;
Original file line number Diff line number Diff line change 1- import { logDebug } from "@codspeed/core" ;
21import { Bench } from "tinybench" ;
32import { withCodSpeed } from ".." ;
43import parsePr from "./parsePr" ;
@@ -12,8 +11,6 @@ const LONG_BODY =
1211
1312const bench = withCodSpeed ( new Bench ( { time : 100 } ) ) ;
1413
15- logDebug ( `PROCESS PID: ${ process . pid } in ${ __filename } ` ) ;
16-
1714bench
1815 . add ( "switch 1" , ( ) => {
1916 let a = 1 ;
You can’t perform that action at this time.
0 commit comments