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

Add benchmark for time prediction #30

Open
Coding-Enthusiast opened this issue Jun 21, 2021 · 1 comment
Open

Add benchmark for time prediction #30

Coding-Enthusiast opened this issue Jun 21, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Coding-Enthusiast
Copy link
Owner

Users always want to know how long it would take to perform the recovery or sometimes to just know the possibility of recovering something considering how much of it is lost. Examples: #20 #17 #7
It would be useful to add a feature that would take some minimal inputs (such as mnemonic total word count and number of missing words), ran the main loop of the respective Service and reported a key/second speed with the total amount of time it would take to go through all of it.

@Coding-Enthusiast Coding-Enthusiast added the enhancement New feature or request label Jun 21, 2021
This was referenced Dec 10, 2021
@Coding-Enthusiast
Copy link
Owner Author

This is partially solved in 221ac33 and 07e6a5f
This new feature prints an estimated speed (number of permutations checked per second) and the time remaining to process all cases every couple of seconds (3 to be exact).

Although this method is accurate, the first value requires at least one round (in the outer loop) to finish which would update the Progress property used in its calculations. In cases where the total keys to check is huge, this can take a considerable amount of time before the estimated values starts showing up.
This means we still need a benchmark feature to know how many permutations can the user's computer process per second to give an initial time and speed prediction, then update it later using the exact values using the Progress property.

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

1 participant