SassyBird
Joined 2 years ago
Karma
163
Submissions
49
Member since
Apr 23
Joined 2 years ago
It seems with some JavaScript generated from Java via Gwt. Regardless, I prefer it over VSCode UI.
This can’t be answered in general. Flamegraphs are measurements of what happened. But just like a ruler doesn’t tell you whether a given human is atypically short or tall for its species, a flamegraph can’t tell you which portion of the program takes too long a time. You need to have prior knowledge about data structures, algorithms, memory bandwidth etc in order to confront your justified expectations with the reality and be surprised with something. And it will all depend on the particular program you profile.
No, it doesn’t.
bool is_even(int n) {
return true;
}
bool test_is_even() {
return is_even(2);
}
100% test coverage. And yet.