database64128
b99712f13e
⚡ middleware/pprof: improve performance (#2709)
* ⚡ middleware/pprof: improve performance
Concatenate the custom and fixed prefixes beforehand, so the trimmed path can be switched on against constant strings.
goos: linux
goarch: amd64
pkg: github.com/gofiber/fiber/v2/middleware/pprof
cpu: 13th Gen Intel(R) Core(TM) i9-13900K
BenchmarkPprof/Slow-32 4912642 246.3 ns/op 480 B/op 10 allocs/op
BenchmarkPprof/Fast-32 411908472 2.913 ns/op 0 B/op 0 allocs/op
PASS
* 🌂 middleware/pprof: disable nonamedreturns linter on cutPrefix
2023-11-09 08:05:54 +01:00
..
2023-10-05 13:14:30 +02:00
2023-03-06 16:42:35 +03:00
2023-08-17 20:49:53 +02:00
2023-10-05 13:49:57 +02:00
2023-09-27 15:06:24 +02:00
2023-10-16 09:06:30 +02:00
2023-03-06 16:42:35 +03:00
2023-03-06 16:42:35 +03:00
2023-03-06 16:42:35 +03:00
2023-03-06 16:42:35 +03:00
2023-03-06 16:42:35 +03:00
2023-09-28 14:40:42 +02:00
2023-10-06 13:10:20 +02:00
2023-05-10 08:01:49 +02:00
2023-10-10 08:23:23 +02:00
2023-05-10 08:01:49 +02:00
2023-06-26 08:16:57 +02:00
2023-09-28 08:31:31 +02:00
2023-03-06 16:42:35 +03:00
2023-11-09 08:05:54 +01:00
2023-06-26 08:16:57 +02:00
2023-03-06 16:42:35 +03:00
2023-05-10 08:01:49 +02:00
2023-03-15 09:45:42 +01:00
2023-05-10 08:01:49 +02:00
2023-10-02 15:19:35 +02:00
2023-03-06 16:42:35 +03:00
2023-06-26 08:16:57 +02:00