1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-20 06:03:01 +00:00

rulegen:: do not include conversion time

This commit is contained in:
Zeno Rogue 2021-08-23 12:07:18 +02:00
parent c36116f125
commit 9e04e053df

View File

@ -489,6 +489,16 @@ void test_current(string tesname) {
// make print_rules() not crash in case of a conversion error
treestates.clear();
/* we do not want to include the conversion time */
if(!arb::in()) try {
arb::convert::convert();
arb::convert::activate();
}
catch(hr_exception& e) {
println(hlog, "CSV; failed to convert ", tesname);
return;
}
int tstart = SDL_GetTicks();
auto begin = std::chrono::high_resolution_clock::now();
try {