Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Lock): use
RawSemaphore
to improve performance
benchmark time (avg) iter/s (min … max) p75 p99 p995 --------------------------------------------------------------- ----------------------------- group Lock#lock current 231.74 µs/iter 4,315.2 (206.46 µs … 700.42 µs) 215.5 µs 488.58 µs 505.96 µs v1.0.0 52.28 ms/iter 19.1 (47.25 ms … 55.24 ms) 54.78 ms 55.24 ms 55.24 ms summary current 225.59x faster than v1.0.0
- Loading branch information