项目作者: abousselmi

项目描述 :
PlayGround testing/perf scripts
高级语言: Shell
项目地址: git://github.com/abousselmi/playground-perf.git
创建时间: 2018-01-16T09:55:33Z
项目社区:https://github.com/abousselmi/playground-perf

开源协议:

下载


POV-Ray-test

Test based on Umbrella POV-Ray datasets https://curate.nd.edu/show/3n203x8348g

Run the script:

  1. $ time ./run_test.sh

Sample output:

  1. Render Time:
  2. Photon Time: No photons
  3. Radiosity Time: No radiosity
  4. Trace Time: 0 hours 2 minutes 2 seconds (122.110 seconds)
  5. using 48 thread(s) with 5712.020 CPU-seconds total
  6. POV-Ray finished
  7. Elapsed time: 153 seconds
  8. real 2m32.078s
  9. user 0m1.032s
  10. sys 0m0.260s

Run tests in a loop

Without using Docker cache

  1. $ ./run_test_multiple_no_cache.sh 1000 abousselmi/docker-alpine-povray:latest

Using Docker cache

  1. $ ./run_test_multiple_use_cache.sh 1000 abousselmi/docker-alpine-povray

Sample output:

  1. ==> loop 97 | elapsed time (s): 367
  2. ==> loop 98 | elapsed time (s): 568
  3. ==> loop 99 | elapsed time (s): 365
  4. ==> loop 100 | elapsed time (s): 634
  5. ==> number of loops: 100
  6. ==> total time: 64635 seconds