summaryrefslogtreecommitdiffstats
path: root/rescue/Makefile
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-05-23 17:46:00 +0000
committeremaste <emaste@FreeBSD.org>2014-05-23 17:46:00 +0000
commite7613520673b6f7fb6b5b77f7c9ac3b31982f6ae (patch)
treec7a21d5b2af4d4b6e5afe344d322a3680e62de28 /rescue/Makefile
parent80044281eb7ca569563950bc5c86bcd1a4d9c7c6 (diff)
downloadFreeBSD-src-e7613520673b6f7fb6b5b77f7c9ac3b31982f6ae.zip
FreeBSD-src-e7613520673b6f7fb6b5b77f7c9ac3b31982f6ae.tar.gz
MFC r266208: Speed up pmcstat by improving string hash
In one case generating callgraph output from a 24MB system-wide sampling data file took 17.4 seconds on average. Profiling showed pmcstat spending a lot of time in strcmp, due to hash collisions. Replacing the XOR-only hash with FNV-1a reduces the run time for my test by 40%.
Diffstat (limited to 'rescue/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud