diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-04-22 03:36:22 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-04-22 03:36:22 +0000 |
commit | 9a9141aed5e65103a298b2dac6dcb00779c4b84d (patch) | |
tree | 6ed3734fd614b38d8897d112f0dba260963589b9 /llvm/lib | |
parent | 563983c8a3479079e728de84ab43bd814371ecdb (diff) | |
download | bcm5719-llvm-9a9141aed5e65103a298b2dac6dcb00779c4b84d.tar.gz bcm5719-llvm-9a9141aed5e65103a298b2dac6dcb00779c4b84d.zip |
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.
llvm-svn: 179990
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions