Skip to content

ASV: add benchmarks to test formatting func in Styler. #41302

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 3 commits into from
May 4, 2021

Conversation

attack68
Copy link
Contributor

@attack68 attack68 commented May 4, 2021

The main time in rendering Styler is consumed by:

  • formatting values for display
  • adding cell styles via apply / applymap
  • adding cell styles via set_td_classes

We have benchmarks for the latter 2 but not the first. Any future changes to the formatting function might be worth having benchmarks (I would use them :) )
Especially if we try to merge Styler formatting with the floatformatter for example.

@jreback jreback added the Benchmark Performance (ASV) benchmarks label May 4, 2021
@jreback jreback added this to the 1.3 milestone May 4, 2021
@jreback jreback merged commit efef264 into pandas-dev:master May 4, 2021
@jreback
Copy link
Contributor

jreback commented May 4, 2021

thanks

@attack68 attack68 deleted the asv_format_only branch May 6, 2021 07:35
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Benchmark Performance (ASV) benchmarks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants