Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Increase the performance of some xml and html helpers#1476

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
alubbe merged 2 commits intoexceljs:masterfromalubbe:performance
Sep 29, 2020

Conversation

alubbe
Copy link
Member

Summary

We saw some performance issues in#742 that this PR tries to solve

Test plan

Both helpers are already tested, this just refactors their implementation.

@alubbealubbe mentioned this pull requestSep 28, 2020
Copy link
Member

@SiemienikSiemienik left a comment

Choose a reason for hiding this comment

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

Thank you for this PR, nice done
How big speedup you note after these changes?

@rogozind
Copy link

This is good. Regexp way of finding whether or not we need the escaping is even faster than the loop I suggested#742 .
In my test I got 25% increase in performance. I have 43K rows of data. It takes 20 secs to export. 50% used to go to create the spreadsheet and 50% used to go to write out the files. Out of these 10 secs 5 secs went to serialize various elements and 5 secs went to xmlEncode() calls. With the patch the xmlEncode dropped to near zero so export now takes 15secs.

Please accept this PR.

@alubbealubbe merged commit85c680a intoexceljs:masterSep 29, 2020
@alubbealubbe deleted the performance branchSeptember 29, 2020 07:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@SiemienikSiemienikSiemienik approved these changes

@AlanscutAlanscutAwaiting requested review from Alanscut

@guyonrocheguyonrocheAwaiting requested review from guyonroche

+1 more reviewer

@rogozindrogozindrogozind left review comments

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@alubbe@rogozind@Siemienik

[8]ページ先頭

©2009-2025 Movatter.jp