| commit | 4aa08fae9b02ba9a0701fe27f58e2645d236798b | [log] [tgz] |
|---|---|---|
| author | Bill Wendling <isanbard@gmail.com> | Mon Apr 22 03:36:22 2013 +0000 |
| committer | Bill Wendling <isanbard@gmail.com> | Mon Apr 22 03:36:22 2013 +0000 |
| tree | 3f8b5e6fc829a2767e57dfeffd7714ef24ada270 | |
| parent | 64544c1093e2a911af0df20c60bd16ff90b4018c [diff] |
Improve performance of file I/O. The fread / fwrite calls were happening for each timer. However, that could be pretty expensive for a large number of timers. Instead, read and write the timers in one call. This gives ~10% speedup in compilation time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179990 91177308-0d34-0410-b5e6-96231b3b80d8