Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README section for windows #14

Closed
ZeeWanderer opened this issue Jul 3, 2021 · 1 comment · Fixed by #15
Closed

README section for windows #14

ZeeWanderer opened this issue Jul 3, 2021 · 1 comment · Fixed by #15

Comments

@ZeeWanderer
Copy link
Contributor

ZeeWanderer commented Jul 3, 2021

I am not sure how would you like to format this or if you would even want to include it at all hence an issue and not a pr.

powershell:

1, 2, 4, 8, 16, 32, 64, 128, 256, 512 | foreach {Write-Host $_; (Measure-Command { cmake . "-Dimage_width=$_" "-Dimage_height=$_" "-Dnum_procs=$Env:NUMBER_OF_PROCESSORS" 2> image_size_$_.ppm }).TotalSeconds }

sample performance:

config: i7-10700 8C/16T with cmake 3.21.0-rc2 run for 16 threads .

output:

1
3.3046483
2
3.2815196
4
3.381609
8
1.8510678
16
1.9677127
32
1.8989169
64
3.2966402
128
12.1628932
256
47.9041449
512
184.0473142
@64
Copy link
Owner

64 commented Jul 3, 2021

Good idea 😁 I'd accept a PR for this -- you can just add 'powershell alternative: ...' or something below the existing Linux command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants