Skip to content

Remove legacy Grisu#46

Merged
SimonDanisch merged 4 commits intoJuliaGraphics:masterfrom
laborg:rmgrisu
Dec 11, 2025
Merged

Remove legacy Grisu#46
SimonDanisch merged 4 commits intoJuliaGraphics:masterfrom
laborg:rmgrisu

Conversation

@laborg
Copy link
Contributor

@laborg laborg commented Dec 6, 2025

This shaves of 2 seconds of pre-compilation time (measured locally) by removing the dependency on Grisu.jl.
As Showoff is used in Makie and Plots this has adds up for the overall community.

laborg and others added 2 commits December 6, 2025 11:39
Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com>
@asinghvi17
Copy link
Contributor

Looks reasonable to me and CI passes

all_zero_hour = length(hours) == 1 && 0 in hours
all_zero_minute = length(minutes) == 1 && 0 in minutes
all_zero_seconds = length(minutes) == 1 && 0 in minutes
all_zero_milliseconds = length(minutes) == 1 && 0 in minutes
Copy link
Member

Choose a reason for hiding this comment

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

Where these unused or whats going on here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've reverted the code changes to not distract this PR. This method is rather buggy, will add a separate PR to properly fix the bugs.

@codecov
Copy link

codecov bot commented Dec 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.65%. Comparing base (bec6648) to head (e510033).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
+ Coverage   79.15%   84.65%   +5.50%     
==========================================
  Files           3        2       -1     
  Lines         283      189      -94     
==========================================
- Hits          224      160      -64     
+ Misses         59       29      -30     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SimonDanisch SimonDanisch merged commit 0a41f2c into JuliaGraphics:master Dec 11, 2025
7 checks passed
@giordano
Copy link
Contributor

Can the new version be tagged? 🙂

@laborg
Copy link
Contributor Author

laborg commented Dec 12, 2025

Can the new version be tagged? 🙂

Please wait until #49 is fixed. (Problably do this in the afternoon)

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.

4 participants