Skip to content

v1.1.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@nazarhussain nazarhussain released this 10 Jan 13:57
· 36 commits to main since this release
d2b7e67

Breaking changes from original fork

  • As the there is no usage of mocha in this fork, so global describe will not be available. You have to import it from the package as. Same applied to hooks.
import {describe, bench} from "@chainsafe/benchmark"
  • The global before renamed to beforeAll
  • The global after renamed to afterAll

Noticeable changes from original fork

  • No need of the mocha peer dependency
  • The CLI spec option is removed
  • The CLI sort option is removed
  • The CLI file option is removed
  • All the options related to mocha are removed. e.g. --require.
  • Set the timeoutBench default value to 10_000

New Features

What's Changed

New Contributors

Full Changelog: https://github.com/ChainSafe/benchmark/commits/v1.1.0.rc-0