This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Optimization for populating stringpool when building .gdb_index.
AbandonedPublic

Authored by grimar on May 24 2017, 4:14 AM.

Details

Reviewers
ruiu
rafael
Summary

It is possible to speedup population of string pool just
by reusing precalculated hash value.

Tested llc binary to link, 50 runs each:
Without patch, with --gdb-index: 7,826269134 seconds time elapsed ( +- 0,06% )
With patch, with --gdb-index: 7,729554651 seconds time elapsed ( +- 0,11% )
A / B == 1,0125, or at least 1% for free.

Diff Detail

Event Timeline

grimar created this revision.May 24 2017, 4:14 AM
grimar abandoned this revision.Dec 1 2017, 4:16 AM

Irrelevant.