Skip to content

Improve performance of NamePrettifier::prettifyTestMethodName()#5748

Merged
sebastianbergmann merged 5 commits intosebastianbergmann:10.5from
staabm:micro-pretty
Mar 14, 2024
Merged

Improve performance of NamePrettifier::prettifyTestMethodName()#5748
sebastianbergmann merged 5 commits intosebastianbergmann:10.5from
staabm:micro-pretty

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Mar 13, 2024

the function call is showing up in blackfire profiles of blackfire run php ./phpunit --testsuite unit

grafik

diff

grafik

Comment thread src/Logging/TestDox/NamePrettifier.php
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.09%. Comparing base (59ad5c9) to head (ada5966).

Additional details and impacted files
@@            Coverage Diff            @@
##               10.5    #5748   +/-   ##
=========================================
  Coverage     90.08%   90.09%           
- Complexity     6437     6438    +1     
=========================================
  Files           680      680           
  Lines         19535    19536    +1     
=========================================
+ Hits          17599    17601    +2     
+ Misses         1936     1935    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sebastianbergmann sebastianbergmann added feature/testdox The TextDox printer/formatter type/performance Issues related to resource consumption (time and memory) labels Mar 14, 2024
@sebastianbergmann sebastianbergmann changed the title Faster NamePrettifier->prettifyTestMethodName() Improve performance of NamePrettifier::prettifyTestMethodName() Mar 14, 2024
@sebastianbergmann sebastianbergmann merged commit 75d9f12 into sebastianbergmann:10.5 Mar 14, 2024
@staabm staabm deleted the micro-pretty branch March 14, 2024 06:17
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature/testdox The TextDox printer/formatter type/performance Issues related to resource consumption (time and memory)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants