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

use shuffle to speed up #88

Merged
merged 1 commit into from
Jan 28, 2023
Merged

use shuffle to speed up #88

merged 1 commit into from
Jan 28, 2023

Conversation

ringsaturn
Copy link
Owner

@ringsaturn ringsaturn commented Dec 5, 2022

  • use none blocking channel to handle preindex results
  • shuffle timezones, for different timezone process time can be very different

time cost on my Mac:

995.10s user 8.27s system 1174% cpu 1:25.42 total

@ringsaturn ringsaturn marked this pull request as ready for review December 5, 2022 14:28
@ringsaturn ringsaturn marked this pull request as draft December 5, 2022 14:46
@ringsaturn ringsaturn changed the title use shuffle and chan to speed up use shuffle to speed up Dec 7, 2022
@ringsaturn ringsaturn marked this pull request as ready for review January 28, 2023 16:15
@ringsaturn ringsaturn merged commit 9572deb into main Jan 28, 2023
@ringsaturn ringsaturn deleted the ringsaturn/perf-preindex branch January 28, 2023 16:43
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 this pull request may close these issues.

1 participant