Skip to content

Conversation

@abadams
Copy link
Member

@abadams abadams commented Oct 30, 2024

Note that this is not denoising the individual runtimes. The point of the test is to measure a distribution of runtimes for a variety of scenarios. This PR takes more samples for each distribution, and spreads the samples out over time to dodge transitory OS stuff by interleaving different test scenarios.

I also tweaked some of the scenarios to be more useful, and reported actual deciles so that the median is actually there.

const int memory_limit = m ? max_memory : 128;

auto now = std::chrono::high_resolution_clock::now;
auto to_ns = [](auto delta) { return 1e9 * std::chrono::duration<float>(delta).count(); };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: 1e9 is a double, so the lambda returns a double. Either 1e9f, or the results vector should become double.

@steven-johnson
Copy link
Contributor

ready to land?

@abadams
Copy link
Member Author

abadams commented Nov 18, 2024

Looks like there was a merge conflict to fix. Apart from that, assuming everything goes green, yes

@abadams
Copy link
Member Author

abadams commented Nov 21, 2024

Failures are all vulkan stuff

@abadams abadams merged commit a1d4d19 into main Nov 21, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants