mirror of https://github.com/fafhrd91/actix-web
Merge branch 'master' into channel-body-type
This commit is contained in:
commit
b1e8fffb43
|
@ -555,6 +555,7 @@ mod tests {
|
|||
};
|
||||
}
|
||||
|
||||
#[allow(unused_allocation)] // triggered by `Box::new(()).size()`
|
||||
#[actix_rt::test]
|
||||
async fn boxing_equivalence() {
|
||||
assert_eq!(().size(), BodySize::Sized(0));
|
||||
|
|
|
@ -85,7 +85,7 @@ You may consider checking out [this directory](https://github.com/actix/examples
|
|||
|
||||
## Benchmarks
|
||||
|
||||
One of the fastest web frameworks available according to the [TechEmpower Framework Benchmark](https://www.techempower.com/benchmarks/#section=data-r20&test=composite).
|
||||
One of the fastest web frameworks available according to the [TechEmpower Framework Benchmark](https://www.techempower.com/benchmarks/#section=data-r21&test=composite).
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ fn future_responder(c: &mut Criterion) {
|
|||
|
||||
let start = Instant::now();
|
||||
|
||||
let _res = rt.block_on(async { futs.await });
|
||||
let _res = rt.block_on(futs);
|
||||
|
||||
start.elapsed()
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue