Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // All values are listed in seconds. 100MB is equal to 100000000 bytes or one hundred million bytes.
- // Test was run on a virtual machine running Ubuntu 14.04 of unknown specifications.
- // fread()
- // 100MB * 1
- 0.016000
- 0.016000
- 0.016000
- 0.012000
- 0.012000
- // 1 * 100MB
- 0.008000
- 0.008000
- 0.004000
- 0.004000
- 0.004000
- // read()
- // 100MB * 1
- 0.016000
- 0.016000
- 0.012000
- 0.012000
- 0.012000
- // 1 * 100MB
- 48.772000
- 39.636000
- 51.312000
- 51.492000
- 63.844000
- // Average or mean
- // fread()
- 0.0144 // 100MB * 1
- 0.0056 // 1 * 100MB
- read()
- 51.31 // 1 * 100MB
- 0.0136 // 100MB * 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement