Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to improve test time adding #1966

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sanmai
Copy link
Member

@sanmai sanmai commented May 18, 2024

This PR:

It didn't work, but I figured I'll leave some breadcrumbs for the future explorer.

@@ -103,7 +103,7 @@ private function createCompleteTestLocation(TestLocation $test): TestLocation
return new TestLocation(
$test->getMethod(),
$testFileData->path,
$testFileData->time,
$test->getExecutionTime() ?? $testFileData->time,
Copy link
Member Author

Choose a reason for hiding this comment

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

There are per-test timings in the JUnit report I had lying around, so in theory it should be possible to get a more accurate numbers.

Copy link
Member

Choose a reason for hiding this comment

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

could you please explain the idea of this PR? Sorry, without debugging I think I don't get it

Copy link
Member Author

Choose a reason for hiding this comment

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

The idea: #1965 (comment)

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.

Mutations should be skipped base on individual time, not total time
2 participants