https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942

--- Comment #28 from Dmitriy Ovdienko <dmitriy.ovdienko at gmail dot com> ---
Added CPU counters for malloc-based allocator as a base point

| CPU counter      |           Rust |     C++ before |        C++ now |     C++
malloc |
|------------------|---------------:|---------------:|---------------:|---------------:|
| cache-references |     29,949,104 |     46,639,647 |     60,495,704 |    
56,695,473 |
| cache-misses     |     12,378,855 |     24,667,211 |     25,741,109 |    
17,430,917 |
| cycles           | 24,700,616,015 | 20,066,358,482 | 23,714,062,385 |
18,304,126,667 |
| instructions     | 31,819,068,745 | 30,416,793,570 | 30,455,923,689 |
20,827,116,950 |
| branches         |  4,835,891,456 |  4,829,846,926 |  4,832,915,354 | 
4,083,330,168 |
| branch-misses    |     10,768,008 |     11,313,719 |     11,643,211 |     
8,868,653 |
| faults           |         82,346 |        234,891 |        239,866 |        
92,955 |
| migrations       |              2 |              4 |             21 |        
    13 |
| Time-elapsed     |         2.0779 |         2.0884 |         2.0061 |        
1.6051 |
| Seconds-user     |         7.1599 |         5.5976 |         6.5808 |        
5.2582 |
| Seconds-sys      |         0.1803 |         0.3678 |         0.4595 |        
0.1872 |

Reply via email to