Skip to content

Instantly share code, notes, and snippets.

@gitgrimbo
Last active August 29, 2015 14:25
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 gitgrimbo/950f3301ce7b9d8ce18f to your computer and use it in GitHub Desktop.
Save gitgrimbo/950f3301ce7b9d8ce18f to your computer and use it in GitHub Desktop.
dojo-util-copy-transform-performance

dojo/util version used is 1.10.4. Custom branches are forked off 1.10.4.

Running a build on this project:

Why are Node and Java results not side-by-side? Because it's hard to isolate the comparison to just the file copy as there are so many other performance differences between the Node and Java builds. So safer to just compare Node to Node and Java to Java.


  • OS: W7 (Windows 7), U1404 (Ubuntu 14.04)
  • CMD: cmd (Windows command prompt), GB (Git Bash), B (Bash)
  • RUNNER: Runner ([N] Node or [J] Java)
  • OPT: optimize (x, no optimization)
  • LOPT: layerOptimize (x, no optimization)
  • DD: HDD (magnetic disk), SSD (solid state drive)
  • COPY: fs (use util/build/fs), cmd (use cmd /c copy or cp)
  • AV: Did any antivirus run during the build? AVG (acgidsagent.exe), MCS (mcshield.exe).

Java versions:

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Results

PC 1

  • Processor(s): [01]: Intel64 Family 6 Model 26 Stepping 5 GenuineIntel ~2793 Mhz

  • Memory: 16,382 MB

OS CMD RUNNER COPY OPT LOPT DD AV Times
W7 cmd N 0.12.4 cmd x x HDD AVG 11.434 10.939 11.761 12.714 11.661
W7 cmd N 0.12.4 cmd x x SSD AVG 14.028 11.912 11.353 11.456 11.366
W7 GB N 0.12.4 cmd x x HDD AVG 11.606 11.968 11.503 11.152 11.629
W7 cmd N 0.12.4 fs x x HDD AVG 4.292 4.274 4.244 4.246 4.241
W7 cmd N 0.12.4 fs x x HDD AVG 4.292 4.274 4.244 4.246 4.241
OS CMD RUNNER COPY OPT LOPT DD AV Times
W7 cmd J 1.8.0_45-64 cmd x x HDD AVG 37.015 37.682 36.470 37.914 37.469
W7 cmd J 1.8.0_45-64 fs x x HDD AVG 26.225 28.162 28.641 26.823 26.942

Laptop 1

  • Processor(s): [01]: Intel64 Family 6 Model 42 Stepping 7 GenuineIntel ~2501 Mhz

  • Memory: 8,079 MB

OS CMD RUNNER COPY OPT LOPT DD AV Times
W7 cmd N 0.10.29 cmd x x SSD MCS 54.919 44.334 44.898 45.475 44.632 54.223 45.984
W7 cmd N 0.10.29 fs x x SSD MCS 6.834 6.836 6.639 6.864 6.872 6.771 6.982

Laptop 2

  • Processor(s): AMD Athlon(tm) 64 Processor 3200+

  • Memory: 1244MiB System Memory

OS CMD RUNNER COPY OPT LOPT DD AV Times
U1404 B N 0.10.? cmd x x HDD 47.787 56.403 57.601 47.819 50.659
U1404 B N 0.10.? fs x x HDD 15.931 6.698 7.278 6.865 7.369
@wkeese
Copy link

wkeese commented Jul 22, 2015

That's quite thorough except for not testing on rhino and a mac. Anyway, I'll try those cases after the functionality issue is resolved (the one where rhino is doing unwanted encoding/decoding).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment