Jean Boussier
5001cc4716
Optimize ObjectSpace.dump_all
The two main optimization are:
- buffer writes for improved performance
- avoid formatting functions when possible
```
| |compare-ruby|built-ruby|
|:------------------|-----------:|---------:|
|dump_all_string | 1.038| 195.925|
| | -| 188.77x|
|dump_all_file | 33.453| 139.645|
| | -| 4.17x|
|dump_all_dev_null | 44.030| 278.552|
| | -| 6.33x|
```
2020-09-09 11:11:36 -07:00
..
2020-09-08 10:30:07 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2019-11-18 23:16:22 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-09-09 11:11:36 -07:00
2020-08-27 16:42:06 +09:00
2020-09-02 10:34:33 -07:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-08-27 16:42:06 +09:00
2020-09-03 21:11:06 +09:00
2019-07-14 01:31:29 +09:00
2020-08-29 17:18:59 +09:00
2020-08-27 23:55:17 +09:00
2020-09-02 10:41:49 -07:00
2020-08-27 16:42:06 +09:00
2019-07-14 17:58:03 +09:00
2020-05-10 21:37:59 +09:00
2020-08-27 16:42:06 +09:00
2019-11-19 15:11:41 +09:00
2020-06-19 08:26:47 +09:00
2020-06-19 08:26:47 +09:00
2020-06-19 08:26:47 +09:00