1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 22:07:42 +02:00

Benchmarks for actix-service: focused around UnsafeCell usage (#98)

* add benchmark comparing unsafecell vs refcell

* fix syntax

* add benches for and_then implementation options

* repeat benches to stabilize
This commit is contained in:
Maxim Vorobjov
2020-02-26 09:45:23 +02:00
committed by GitHub
parent d402f08bb5
commit 4d37858fc6
3 changed files with 450 additions and 0 deletions

View File

@ -21,3 +21,12 @@ pin-project = "0.4.6"
[dev-dependencies]
actix-rt = "1.0.0"
criterion = "0.3"
[[bench]]
name = "unsafecell_vs_refcell"
harness = false
[[bench]]
name = "and_then"
harness = false