sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.31k stars 450 forks source link

A stop and restart mechanism for linear codes benchmarking tool #20684

Open 1861b8a9-77f0-4f35-8431-8514a75b40d1 opened 8 years ago

1861b8a9-77f0-4f35-8431-8514a75b40d1 commented 8 years ago

This ticket adds a new feature to the benchmarking tool introduced in #20526 which allows the user to interrupt an run (with Ctrl+C) and resume it afterwards by typing Benchmark.run() again. It will resume the run at the exact place it was stopped before. If triggered in verbose mode, the current progress status will be kept (e.g. if stopped at 25%, the first message of the new run in verbose mode will be 25% complete).

Depends on #20526

CC: @johanrosenkilde @ClementPernet

Component: coding theory

Author: David Lucas

Branch/Commit: u/dlucas/stop_and_restart_feature_for_benchmarking @ 20523d0

Issue created by migration from https://trac.sagemath.org/ticket/20684

1861b8a9-77f0-4f35-8431-8514a75b40d1 commented 8 years ago

Branch: u/dlucas/stop_and_restart_feature_for_benchmarking

1861b8a9-77f0-4f35-8431-8514a75b40d1 commented 8 years ago
comment:2

I pushed the patch, which is now open for review.

David


Last 10 new commits:

0dfdbf0Replaced exception by a return statement in run() on empty benchmarks
7212b33Added a distinction between decoding_error and decoding_failure, refined decoding_success_rate accordingly
bc29f26Refined experimental_data method, which now allows request for specific data
a82a477Fixed syntax errors in documentation
0ab93ecChanges and fixes to docstrings and doctests
d2d6e26Improved data selection in experimental_data method
8e363ddSwitched definition of decoding error and decoding failure
fe0b956Merge branch 't/20601/20601_experimental' into benchmarking_tool
272d251Update to 7.3b1
20523d0Added a stop and start mechanism for benchmarks
1861b8a9-77f0-4f35-8431-8514a75b40d1 commented 8 years ago

Commit: 20523d0

fchapoton commented 8 years ago
comment:3

You must fill the author Field if you want patchbots to have a look. I did it for you, please check.

fchapoton commented 8 years ago

Author: David Lucas

johanrosenkilde commented 8 years ago
comment:4

This will probably be superseded by the BleacherMark project.