LilithHafner / Chairmarks.jl

Benchmarks with back support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chairmarks

Stable Dev Build Status Coverage Aqua

Chairmarks measures performance hundreds of times faster than BenchmarkTools without compromising on accuracy.

Installation

julia> import Pkg; Pkg.add("Chairmarks")

Usage

julia> using Chairmarks

julia> @b rand(1000) # How long does it take to generate a random array of length 1000?
720.214 ns (3 allocs: 7.875 KiB)

julia> @b rand(1000) hash # How long does it take to hash that array?
1.689 μs

julia> @b rand(1000) _.*5 # How long does it take to multiply it by 5 element wise?
172.970 ns (3 allocs: 7.875 KiB)

Why Chairmarks?

Tutorial

API Reference

About

Benchmarks with back support

License:GNU General Public License v3.0


Languages

Language:Julia 93.6%Language:Shell 6.4%