Open matiTechno opened 5 years ago
commit: 52cbedabcaba6b6e253dcea27318f33fe8342023
time ./render 8 4000 3000 8 threads, 4000 x 3000 px image
time ./render 8 4000 3000
'static const' means that render width and height are defined as static const and not assigned at runtime in main().
Values are real time statistics reported by time command, in seconds. I ran each version couple of times and chose the best result.
clang -O3 static const is quite surprising. gcc -O3 static const produces artifacts (https://github.com/matiTechno/asm-fractal/issues/3). I have not done any gcc and clang assembly analysis.
new asm version (83164efb465f87825a806dd2fdd85884501db607) with thread local pixel buffer 3.344 s
commit: 52cbedabcaba6b6e253dcea27318f33fe8342023
time ./render 8 4000 3000
8 threads, 4000 x 3000 px image'static const' means that render width and height are defined as static const and not assigned at runtime in main().
Values are real time statistics reported by time command, in seconds. I ran each version couple of times and chose the best result.
clang -O3 static const is quite surprising. gcc -O3 static const produces artifacts (https://github.com/matiTechno/asm-fractal/issues/3). I have not done any gcc and clang assembly analysis.