Skip to content

Commit

Permalink
fix(profile): correct trace randomization profile
Browse files Browse the repository at this point in the history
Fixes a bug in profiling (only): The master base table was seemingly
trace-randomized twice, whereas the master extension table was not
trace-randomized at all.
  • Loading branch information
jan-ferdinand committed Apr 17, 2024
1 parent 8670ca6 commit 44abcda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions triton-vm/src/stark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@ impl Stark {
prof_start!(maybe_profiler, "extend", "gen");
let mut master_ext_table = master_base_table.extend(&challenges);
prof_stop!(maybe_profiler, "extend");
prof_stop!(maybe_profiler, "base tables");

prof_start!(maybe_profiler, "ext tables");
prof_start!(maybe_profiler, "randomize trace", "gen");
master_ext_table.randomize_trace();
prof_stop!(maybe_profiler, "randomize trace");
prof_stop!(maybe_profiler, "base tables");

prof_start!(maybe_profiler, "ext tables");
prof_start!(maybe_profiler, "LDE", "LDE");
master_ext_table.low_degree_extend_all_columns();
prof_stop!(maybe_profiler, "LDE");
Expand Down

0 comments on commit 44abcda

Please sign in to comment.