chore(middleware/cors): Merge changes from v2 #2877
Annotations
1 error and 8 warnings
Compare
# :warning: **Performance Alert** :warning:
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold `2`.
| Benchmark suite | Current: e1b808e25123254d1c5e42116b101aeabbdc2855 | Previous: d2b19e290d563ed80b188d875c0121059b449fc0 | Ratio |
|-|-|-|-|
| `Benchmark_CORS_NewHandler` | `773.5` ns/op 32 B/op 2 allocs/op | `278.3` ns/op 0 B/op 0 allocs/op | `2.78` |
| `Benchmark_CORS_NewHandlerParallel` | `369.1` ns/op 32 B/op 2 allocs/op | `126.5` ns/op 0 B/op 0 allocs/op | `2.92` |
| `Benchmark_CORS_NewHandlerSingleOrigin` | `780.9` ns/op 32 B/op 2 allocs/op | `283.9` ns/op 0 B/op 0 allocs/op | `2.75` |
| `Benchmark_CORS_NewHandlerSingleOriginParallel` | `373.6` ns/op 32 B/op 2 allocs/op | `126.3` ns/op 0 B/op 0 allocs/op | `2.96` |
| `Benchmark_CORS_NewHandlerWildcard` | `698` ns/op 32 B/op 2 allocs/op | `206.8` ns/op 0 B/op 0 allocs/op | `3.38` |
| `Benchmark_CORS_NewHandlerWildcardParallel` | `331.1` ns/op 32 B/op 2 allocs/op | `93.06` ns/op 0 B/op 0 allocs/op | `3.56` |
| `Benchmark_Etag` | `199` ns/op 0 B/op 0 allocs/op | `98.08` ns/op 0 B/op 0 allocs/op | `2.03` |
| `Benchmark_Middleware_Favicon` | `208.5` ns/op 12 B/op 4 allocs/op | `90.01` ns/op 3 B/op 1 allocs/op | `2.32` |
This comment was automatically generated by [workflow](https://github.com/gofiber/fiber/actions?query=workflow%3ABenchmark) using [github-action-benchmark](https://github.com/marketplace/actions/continuous-benchmark).
|
Compare
Performance alert! Previous value was 278.3 and current value is 773.5. It is 2.7793747754222062x worse than previous exceeding a ratio threshold 2
|
Compare
Performance alert! Previous value was 126.5 and current value is 369.1. It is 2.917786561264822x worse than previous exceeding a ratio threshold 2
|
Compare
Performance alert! Previous value was 283.9 and current value is 780.9. It is 2.750616414230363x worse than previous exceeding a ratio threshold 2
|
Compare
Performance alert! Previous value was 126.3 and current value is 373.6. It is 2.9580364212193193x worse than previous exceeding a ratio threshold 2
|
Compare
Performance alert! Previous value was 206.8 and current value is 698. It is 3.3752417794970984x worse than previous exceeding a ratio threshold 2
|
Compare
Performance alert! Previous value was 93.06 and current value is 331.1. It is 3.5579196217494093x worse than previous exceeding a ratio threshold 2
|
Compare
Performance alert! Previous value was 98.08 and current value is 199. It is 2.028955954323002x worse than previous exceeding a ratio threshold 2
|
Compare
Performance alert! Previous value was 90.01 and current value is 208.5. It is 2.3164092878569047x worse than previous exceeding a ratio threshold 2
|