Releases: ESBenchmark/ESBench
Releases · ESBenchmark/ESBench
v0.8.1
v0.8.0
Breaking Changes
ProcessExecutorconstructor now accept an options object at the 2nd parameter instead of the env variable dict.
- new ProcessExecutor("node", { key: "value" });
+ new ProcessExecutor("node", { env: { key: "value" } });New Features
- Expose log functions to suite lifecycle hooks.
- Add support of specify
stdioforProcessExecutor&NodeExecutor. - Add support of automatic open browser for HTML reporter.
Fixes
- Fix
WebextExecutorcannot find the extension ID with Playwright 1.50 - Fix validator does not inspect the
patternoption of the suite.
v0.7.0
Breaking Changes
ExecutionTimeMeasurement.run no longer return the samples, you should use ExecutionTimeMeasurement.values instead.
New Features
- Introduce
openoption toWebRemoteExecutor, when set, the client page will be open with browser on execution start and automically closed on finish. - Introduce a new
ComplexityProfiler, which can calculate asymptotic complexity for benchmark cases.
Fixes
- Fix set Object prototype method to
Content-Typeheader. - Buffer suite results to a temporary file to avoid memory grown.
- The timing of the iteration hooks will also be included in the
timing.iterationstime estimate.
v0.6.3
v0.6.2
New Features
- Display all variables in baseline error message.
Fixes
- Fix missing Content-Type for
.wasmfiles. - Fix missing await of
es-module-lexerinit. - Wait for server close in
WebRemoteExecutor.close - Fix WebRemoteExecutor page script.
- Ensure reset metric value of baseline for each group in text report.
- Built-in transformer now does not throw error for unresolvable imports.
v0.6.1
v0.6.0
Breaking Changes
- CLI:
reportcommand now accepts glob patterns instead of file paths.
New Features
- For baseline value is 0, text reporter will show
greaterandlessinstead ofN/Aif possible. - CLI: Introduce
--tagargument, which can be used to add custom variables for a run.
Fixes
- Improve error messages for
reportcommand with no matching files. - WebRemoteExecutor: fix missing
Content-Typeheader in HTML response. - HTML Reporter: Skip string metrics in chart.
v0.5.0
Breaking Changes
ProfilingContext.suiteis changed to new typeNormalizedSuite,params&timingproperties are resolved.runSuiteis no longer wrap errors withRunSuiteError.
New Features
- Introduce object-style params.
Fixes
- TimeProfiler: fix the time in log message of the pilot stage.
- TimeProfiler: limit the first estimate grows on pilot stage.
- TimeProfiler: remove unnecessary rounding of throughput value.
- TimeProfiler: No longer unroll for async workload.
- Do not modify
baselineobject of user suite.
v0.4.0
- Refactor Executor API, now built-in executors will run each suite in isolated context (except
inProcessExecutor). - Change the default path for saving the raw results to "node_modules/.esbench/result.json", avoid creating new folder in the workspace by default.