summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-04-22 03:36:22 +0000
committerBill Wendling <isanbard@gmail.com>2013-04-22 03:36:22 +0000
commit9a9141aed5e65103a298b2dac6dcb00779c4b84d (patch)
tree6ed3734fd614b38d8897d112f0dba260963589b9 /llvm/lib
parent563983c8a3479079e728de84ab43bd814371ecdb (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud