The performance of Panko is measured using microbenchmarks and load testing.
The following microbenchmarks are run on MacBook Pro (16-inch, 2021, M1 Max), Ruby 3.2.0 with Rails 7.0.5 demonstrating the performance of ActiveModelSerializers 0.10.13 and Panko 0.8.0
|Benchmark||AMS ip/s||Panko ip/s|
The real-world benchmark here is endpoint which serializes 7,884 entries with 48 attributes and no associations.
The benchmark took place in environment that simulates production environment and run using
wrk from machine on the same cluster.
|Avg Response Time||4.89s||1.48s|
|Max Response Time||5.42s||1.83s|
|99th Response Time||5.42s||1.74s|
Thanks to Bringg for providing the infrastructure for the benchmarks