mystiques

-O3/ -O2 / java results

Apr 7th, 2013
102
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ gcc -O2 -msse4.2 sudoku_v1.c
  2. $for i in `seq 1 10`; do ./a.out < sud500 > /dev/shm/o; done;
  3. Elapsed 7999.31
  4. Elapsed 7970.00
  5. Elapsed 7985.64
  6. Elapsed 7961.64
  7. Elapsed 8007.81
  8. Elapsed 8010.82
  9. Elapsed 7959.17
  10. Elapsed 7997.59
  11. Elapsed 7894.28
  12. Elapsed 7946.76
  13.  
  14.  
  15. $ gcc -O3 -msse4.2 sudoku_v1.c
  16. $for i in `seq 1 10`; do ./a.out < sud500 > /dev/shm/o; done;
  17. Elapsed 7831.10
  18. Elapsed 7694.53
  19. Elapsed 7565.37
  20. Elapsed 7605.28
  21. Elapsed 7625.31
  22. Elapsed 7611.24
  23. Elapsed 7619.79
  24. Elapsed 7540.54
  25. Elapsed 7682.54
  26. Elapsed 7569.86
  27.  
  28.  
  29.  
  30. $ for i in `seq 1 10`; do java -server -XX:CompileThreshold=1450 -XX:+UseG1GC -Dwarmup=2500 -cp . sss.Sudoku in < sud500 > /dev/shm/o; done;
  31. Elapsed+Read: 7986.50
  32. Elapsed+Read: 7895.98
  33. Elapsed+Read: 7927.69
  34. Elapsed+Read: 7930.34
  35. Elapsed+Read: 7828.09
  36. Elapsed+Read: 7829.72
  37. Elapsed+Read: 7947.33
  38. Elapsed+Read: 7931.43
  39. Elapsed+Read: 7889.00
  40. Elapsed+Read: 7774.82
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×