タグ

benchmarkとtestingに関するefclのブックマーク (2)

  • Wedgetail

    High, Low, AverageWedgetail gives you accurate timings for the best, worst and average timings. Measure thousands of executionsGet accurate statistics out of the box, by setting `numberOfExecutions` to at least 5000. import test from "ava"; import { timeExecution } from "wedgetail"; test("Can time a function", async t => { // This object contains a definition of the threshold // at which your func

    efcl
    efcl 2018/02/23
    コードの実行時間が期待値かをテストするライブラリ。 low、hight、averageを指定しコードの実行時間のテストを行える。 またパーセンタイルに対応している。
  • JavaScript Test-Runners Benchmark

    Performance is an important criteria when choosing test-runner. Tests should pass as fast as possible to detect errors earlier, improve developer experience and reduce CI servers running time. In this story I will compare the most popular JavaScript test-runners on the same set of unit tests and find the winners. CandidatesI will not go deep into the specific features of test-runners. Each one has

    JavaScript Test-Runners Benchmark
    efcl
    efcl 2017/07/11
    JavaScriptのテストフレームワークのベンチマーク比較。 同期的なテスト、非同期的なテストでそれぞれjasmine、mocha、AVA、Jestなど著名なテストフレームワークの実行速度を比較したもの
  • 1