redmica / redmine_ip_filter

3 stars 3 forks source link

Enable frozen_string_literal #16

Closed vividtone closed 4 years ago

vividtone commented 4 years ago

In my environment, enabling frozen_string_literal improved the performance (requests/sec) about 4% when 100 filter rules are set.

ab -n 2000  -c 2 http://$IP/sandbox/login
Before: Requests per second
1 84.78
2 86.20
3 83.08
After: Requests per second
1 90.27
2 88.20
3 87.48
takenory commented 4 years ago

Thx for your performance improvement!

takenory commented 4 years ago

Thx for your performance improvement!