Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

v0.13.0

Choose a tag to compare

@intsuc intsuc released this 06 Jul 09:22
· 58 commits to main since this release

Breaking Changes

  • The execute_benchmarks option now takes commands instead of function names

Improvements

  • Add samples
  • The baseline (empty function) is now always benchmarked #57

New Features

  • You can now specify the formats of the results with the formats option (json or md) #27
  • The #mch:teardown fixture #67
    • Executed at the end of the last fork of the entire benchmark
  • The new execute_benchmarks option for benchmarking a signle command #68
  • The function_benchmarks option that allows more stable function benchmarks #65
    • By setting the pack.mch of the data pack's pack.mcmeta to true, the data pack is recognized as for benchmarking
    • By adding # @benchmark to the first line of a function, the function is recongnized as for benchmarking #69
    • Among the benchmarking data packs, only one being benchmarked is enabled, and the functions it contains are benchmarked

Fixes

  • #mch:setup was executed inappropriately #70