liuggio / fastest

Simple parallel testing execution... with some goodies for functional tests.
MIT License
473 stars 65 forks source link

[ProcessorCounter] OSX support for processor counter #2

Closed liuggio closed 8 years ago

liuggio commented 10 years ago

missing darwin support to calculate the number of processors

something like:

https://github.com/grosser/parallel/blob/master/lib/parallel/processor_count.rb#L59

binarious commented 9 years ago

This works for me: https://github.com/binarious/fastest/commit/3051b5d115240bc75c62dc240daa914e2e82b6af Is it just to display the number of processors? I did not understand why you fallback to 4 though. If you're okay with it, I'll open up a PR.

liuggio commented 9 years ago

@binarious great please open a PR cfr: https://github.com/binarious/fastest/commit/3051b5d115240bc75c62dc240daa914e2e82b6af#commitcomment-11766210