You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes parsing of the archive headers significantly faster. The `ar`
example adjusted to parse the same archive 1 million times, when run
with the rlib of the `object` crate itself produces the following
metrics:
788.19 msec task-clock:u # 0.998 CPUs utilized
2,502,967,113 cycles:u # 3.176 GHz
7,780,571,392 instructions:u # 3.11 insn per cycle
In contrast to the following for the old code:
1,061.09 msec task-clock:u # 0.998 CPUs utilized
3,374,141,510 cycles:u # 3.180 GHz
12,012,570,139 instructions:u # 3.56 insn per cycle
This results in a reduction of about 1B cycles, or 25% reduction in wall
clock time.
Originally `perf` would show a heavy hotspot (in the area of 50% of the
total runtime) in `parse_sysv_extended_name`.
0 commit comments