Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Luthaf
Created March 31, 2017 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Luthaf/08c852eeebdb09b310dcde04560f810a to your computer and use it in GitHub Desktop.
Save Luthaf/08c852eeebdb09b310dcde04560f810a to your computer and use it in GitHub Desktop.
$ cargo benchcmp safe.log unsafe.log --threshold=2
name safe.log ns/iter unsafe.log ns/iter diff ns/iter diff %
cache_move_all_rigid_molecules 1,463,817 1,168,495 -295,322 -20.17%
cache_move_all_rigid_molecules_ewald 10,620,984 8,721,128 -1,899,856 -17.89%
cache_move_all_rigid_molecules_wolf 8,386,407 10,278,223 1,891,816 22.56%
cache_move_particle 201,875 244,669 42,794 21.20%
cache_move_particle_ewald 528,745 491,710 -37,035 -7.00%
cache_move_particles 354,655 282,355 -72,300 -20.39%
cache_move_particles_ewald 1,025,460 887,721 -137,739 -13.43%
cache_move_particles_wolf 507,774 553,008 45,234 8.91%
energy 2,380,384 2,766,820 386,436 16.23%
energy_ewald 785,943 674,102 -111,841 -14.23%
energy_ewald 1,257,053 1,126,991 -130,062 -10.35%
forces 2,545,932 3,001,106 455,174 17.88%
forces 1,408,668 1,459,264 50,596 3.59%
forces_ewald 18,974,768 13,906,190 -5,068,578 -26.71%
forces_ewald 26,870,666 21,139,494 -5,731,172 -21.33%
forces_wolf 663,667 642,361 -21,306 -3.21%
forces_wolf 1,017,002 994,137 -22,865 -2.25%
virial 3,173,557 3,699,969 526,412 16.59%
virial 1,531,908 1,570,691 38,783 2.53%
virial_ewald 61,690,550 55,039,292 -6,651,258 -10.78%
virial_ewald 90,862,664 81,927,863 -8,934,801 -9.83%
virial_wolf 701,278 663,961 -37,317 -5.32%
$ cargo benchcmp --threshold=2 safe.log unsafe.log
name safe.log ns/iter unsafe.log ns/iter diff ns/iter diff %
cache_move_all_rigid_molecules 1,095,359 1,059,095 -36,264 -3.31%
cache_move_all_rigid_molecules_ewald 8,060,593 7,577,300 -483,293 -6.00%
cache_move_all_rigid_molecules_wolf 7,316,571 7,561,870 245,299 3.35%
cache_move_particle 189,242 170,931 -18,311 -9.68%
cache_move_particle_ewald 432,058 327,071 -104,987 -24.30%
cache_move_particle_wolf 93,468 91,486 -1,982 -2.12%
cache_move_particles 246,347 253,027 6,680 2.71%
cache_move_particles_ewald 837,165 713,562 -123,603 -14.76%
energy_ewald 662,784 576,538 -86,246 -13.01%
energy_ewald 1,060,271 907,912 -152,359 -14.37%
energy_wolf 456,610 470,129 13,519 2.96%
forces_ewald 16,995,679 14,121,569 -2,874,110 -16.91%
forces_ewald 24,673,089 20,696,680 -3,976,409 -16.12%
forces_wolf 803,028 825,513 22,485 2.80%
virial 1,399,952 1,442,604 42,652 3.05%
virial_ewald 58,265,344 55,404,503 -2,860,841 -4.91%
virial_ewald 86,958,029 81,893,526 -5,064,503 -5.82%
virial_wolf 539,523 568,399 28,876 5.35%
virial_wolf 805,988 826,382 20,394 2.53%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment