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

Informal benchmarking #5

Open
dbwiddis opened this issue Sep 26, 2022 · 2 comments
Open

Informal benchmarking #5

dbwiddis opened this issue Sep 26, 2022 · 2 comments

Comments

@dbwiddis
Copy link
Member

dbwiddis commented Sep 26, 2022

The "is it worth it" thread. Informal benchmarks:

macOS process implementation: 10000 reps of getProcesses() with ~500 processes.

  • OSHI avg: 38.26 ms
  • OSHI-FFM avg: 7.23 ms (5.3 x faster)
  • OSHI parallel avg: 10.23 ms
  • OSHI-FFM parallel avg: 2.35 ms (4.4 x faster)
@adrian-kong
Copy link
Collaborator

wait that's pretty fast! would it be useful to create a triggerable benchmark workflow that pulls oshi as well as oshi ffm and runs on both just for logging?

@dbwiddis
Copy link
Member Author

dbwiddis commented Oct 1, 2022

Note the “informal” in the title. :)

Not sure how useful a formal benchmark would be. Too many variables. Feel free to try if you want.

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

No branches or pull requests

2 participants