v1.1.0-rc.0
Pre-release
Pre-release
Breaking changes from original fork
- As the there is no usage of
mochain this fork, so globaldescribewill not be available. You have to import it from the package as. Same applied to hooks.
import {describe, bench} from "@chainsafe/benchmark"- The global
beforerenamed tobeforeAll - The global
afterrenamed toafterAll
Noticeable changes from original fork
- No need of the
mochapeer dependency - The CLI
specoption is removed - The CLI
sortoption is removed - The CLI
fileoption is removed - All the options related to
mochaare removed. e.g.--require. - Set the
timeoutBenchdefault value to 10_000
New Features
- feat: add command to compare multiple benchmarks by @nazarhussain in #9
What's Changed
- feat: add support for embedded runner by @nazarhussain in #6
- test: add support to run tests in multiple runtimes by @nazarhussain in #8
- chore: update the package name and version by @nazarhussain in #7
New Contributors
- @nazarhussain made their first contribution in #6
Full Changelog: https://github.com/ChainSafe/benchmark/commits/v1.1.0.rc-0