Skip to content

Profiling #96

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

Merged
merged 9 commits into from
Mar 4, 2020
Merged

Profiling #96

merged 9 commits into from
Mar 4, 2020

Conversation

jaapio
Copy link
Member

@jaapio jaapio commented Feb 18, 2020

The first set of benchmarks using Blackfire to get insights into the performance of this library.
Blackfire will report back to each PR if the impact is acceptable.

I Added a large file from mpdf to test the context factory. Cutting down the number of calls to ArrayIterator::current with more than 50% gave a performance improvement of +/- 60% on this file. In the real world, this gain would be less since the LOC of the processed files is less. But it will still give some improvements on the speed.

Please review the changes in the ContextFactory.

@jaapio jaapio force-pushed the feature/blackfire branch 14 times, most recently from 2a674d3 to 7eca92b Compare February 24, 2020 21:10
@jaapio jaapio marked this pull request as ready for review February 29, 2020 09:19
@jaapio jaapio requested a review from mvriel February 29, 2020 09:56
@jaapio jaapio force-pushed the feature/blackfire branch from 7df8882 to c13fc87 Compare March 1, 2020 09:13
@jaapio jaapio merged commit 5b92e1c into master Mar 4, 2020
@jaapio jaapio deleted the feature/blackfire branch March 4, 2020 18:52
- 8707:8707
env:
BLACKFIRE_SERVER_ID: "517a7aa6-1ec8-4d29-bff8-dddecf4333de"
BLACKFIRE_SERVER_TOKEN: "21795bdce7c0b5d24f0ccbb42e2a7518feb5359840752b163652899f927cbf2b"

Choose a reason for hiding this comment

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

You should never expose your blackfire credentials (either client or server). This should end up with other secrets.

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.

2 participants