❯ make single_dep
Benchmarking incant: Mean +- std dev: 394 ns +- 27 ns
Benchmarking wired: Mean +- std dev: 50.6 us +- 1.9 us
Benchmarking di: Mean +- std dev: 6.26 us +- 0.18 us
Benchmarking dependency_injector: Mean +- std dev: 2.94 us +- 0.11 us
❯ make two_deps
Benchmarking incant: Mean +- std dev: 521 ns +- 31 ns
Benchmarking wired: Mean +- std dev: 91.7 us +- 4.1 us
Benchmarking di: Mean +- std dev: 7.03 us +- 0.50 us
Benchmarking dependency_injector: Mean +- std dev: 10.1 us +- 0.6 us
❯ LIBS="incant di" make concurrent_deps
Benchmarking incant: Mean +- std dev: 2.91 ms +- 0.04 ms
Benchmarking di: Mean +- std dev: 156 us +- 3 us
❯ LIBS="incant di" make concurrent_nested_deps
Benchmarking incant: Mean +- std dev: 105 ms +- 0 ms
Benchmarking di: Mean +- std dev: 159 us +- 6 us
This updates the benchmarks for di.
Here's the results I'm getting: