https://github.com/printercu/rails_dev_leak_example
https://github.com/rails/rails/pull/27296
https://github.com/printercu/rails_dev_leak_example
Last synced: 15 days ago
JSON representation
https://github.com/rails/rails/pull/27296
- Host: GitHub
- URL: https://github.com/printercu/rails_dev_leak_example
- Owner: printercu
- Created: 2016-12-23T12:06:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-23T12:06:43.000Z (over 9 years ago)
- Last Synced: 2025-12-27T18:28:11.203Z (4 months ago)
- Language: Ruby
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
- `rails s` or `PATCH=true rails s`
- `ab -c1 -n100 http://localhost:3000`
## Results
```
Without patch:
Heap slots: 337292/448763
# ... constantly increasing
Heap slots: 347697/448763
With patch:
Heap slots: 337332/441030
# in 5 requests get to
Heap slots: 338240/441030
# and doesn't change much anymore (+/-10)
# Doesn't change at all for small templates.
```
## License
MIT