diff options
author | lloyd <[email protected]> | 2006-09-27 03:44:57 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-09-27 03:44:57 +0000 |
commit | 15da8dc78bb8fa5e5cabf90295a55e7421a1f1dc (patch) | |
tree | ea33908012bdda6139f67e0b5b6d33da6bd4966b /checks/check.cpp | |
parent | b81d5af9768c47b7eb9de8032b4603af30e623f5 (diff) |
Add (very basic) HTML output for public key benchmarking.
Diffstat (limited to 'checks/check.cpp')
-rw-r--r-- | checks/check.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/checks/check.cpp b/checks/check.cpp index 577e469c5..ac4e75fa3 100644 --- a/checks/check.cpp +++ b/checks/check.cpp @@ -59,6 +59,8 @@ int main(int argc, char* argv[]) } } + const bool html = opts.is_set("html"); + if(opts.is_set("bench-algo")) { std::vector<std::string> algs = @@ -69,12 +71,10 @@ int main(int argc, char* argv[]) const std::string alg = algs[j]; u32bit found = bench_algo(alg, seconds); if(!found) // maybe it's a PK algorithm - bench_pk(alg, false, seconds); + bench_pk(alg, html, seconds); } } - const bool html = opts.is_set("html"); - if(opts.is_set("benchmark")) benchmark("All", html, seconds); else if(opts.is_set("bench-type")) |