Skip to content

Releases: ChainSafe/benchmark

v1.1.0-rc.1

13 Jan 13:39
cb15e56
Compare
Choose a tag to compare
v1.1.0-rc.1 Pre-release
Pre-release

What's Changed

Full Changelog: v1.1.0-rc.0...v1.1.0-rc.1

v1.1.0-rc.0

10 Jan 13:57
d2b7e67
Compare
Choose a tag to compare
v1.1.0-rc.0 Pre-release
Pre-release

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