Merge branch 'master' into channel-body-type

This commit is contained in:
yinho999 2023-06-16 04:37:26 -04:00 committed by GitHub
commit b1e8fffb43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -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));

View File

@ -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

View File

@ -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()
})