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

Performance enhancements for single and multi-thread evaluations #26

Open
uw4 opened this issue Nov 20, 2023 · 2 comments
Open

Performance enhancements for single and multi-thread evaluations #26

uw4 opened this issue Nov 20, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@uw4
Copy link
Contributor

uw4 commented Nov 20, 2023

Experiments show that with few changes huge boosts (synthetic tests 3x faster) can be achieved
(caused by less synchronization + much better JIT code generation)

@uw4 uw4 added this to the 0.9.5 milestone Nov 20, 2023
@uw4 uw4 self-assigned this Nov 20, 2023
uw4 added a commit that referenced this issue Nov 20, 2023
@uw4
Copy link
Contributor Author

uw4 commented Nov 20, 2023

Perf enhancements speedup:

Before:
$ ./threads.sh 1
Testing THREADS=1 TIME=3000
Finished 17 tests sum=2.605197E11
Thread test finished total=17

$ ./threads.sh 4
Testing THREADS=4 TIME=3000
Finished 12 tests sum=1.689628E11
Finished 12 tests sum=1.929169E11
Finished 12 tests sum=2.02259E11
Finished 11 tests sum=1.705385E11
Thread test finished total=47

After:
$ ./threads.sh 1
Testing THREADS=1 TIME=3000
Finished 42 tests sum=6.101973E11
Thread test finished total=42

$ ./threads.sh 4
Testing THREADS=4 TIME=3000
Finished 26 tests sum=3.680051E11
Finished 22 tests sum=3.780026E11
Finished 26 tests sum=4.324088E11
Finished 27 tests sum=3.765051E11
Thread test finished total=101

@uw4 uw4 closed this as completed Nov 20, 2023
@aeberhart
Copy link
Contributor

maybe update the performance numbers in the README?

@aeberhart aeberhart reopened this Nov 26, 2023
@uw4 uw4 added the enhancement New feature or request label Jan 22, 2024
@uw4 uw4 modified the milestones: 0.9.5, 0.9.9 Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants