diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-02-29 21:12:41 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-02-29 21:26:08 -0800 |
commit | 3ab5bec554013c655c8d7439b708ba1380c8eef8 (patch) | |
tree | 03e1c3c261d71b1f0c18a0e785cbb311de8ab0c0 /android/PhoneticStringUtilsTest.cpp | |
parent | 40a8df2afea8009142f6ff635956f05b2801dd00 (diff) |
Use fdatasync() to improve performance.
Linux has a working fdatasync() so we should use it!
This change alone improves performance by around 20% by reducing
the number of synchronous I/O writes of irrelevant metadata
changes.
Change-Id: Iebe0c32a7e018ec0ced2347b7d62b2b7dc5aa376
Diffstat (limited to 'android/PhoneticStringUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions