-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Reduce memory use and improve perfs when computing the bounding box of a bezier curve (bug 1875547) #17574
Conversation
@Snuffleupagus, in the failing tests (I'm fixing) the line number where it occured is very wrong:
I don't remember having such issues in the past, could it be related to #17563 ? |
No idea unfortunately. /cc @nicolo-ribaudo |
2acad24
to
fcd1856
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me, with one more comment and all tests passing; thank you!
fcd1856
to
761b97a
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/56154ab2747f71b/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/6cb1610e96b758e/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/56154ab2747f71b/output.txt Total script time: 24.73 mins
Image differences available at: http://54.241.84.105:8877/56154ab2747f71b/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/6cb1610e96b758e/output.txt Total script time: 40.90 mins
Image differences available at: http://54.193.163.58:8877/6cb1610e96b758e/reftest-analyzer.html#web=eq.log |
…f a bezier curve (bug 1875547) It isn't really a fix for the mentioned bug but it slightly improve things. In reducing the memory use, the time spent in the GC is reduced either. The algorithm to compute the bounding box is the same as before but it has just been rewritten to be more efficient.
761b97a
to
7f2428a
Compare
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/5d27a2b928ced57/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/c2dcfbe0fa6767b/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/c2dcfbe0fa6767b/output.txt Total script time: 24.82 mins
Image differences available at: http://54.241.84.105:8877/c2dcfbe0fa6767b/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/5d27a2b928ced57/output.txt Total script time: 39.55 mins
Image differences available at: http://54.193.163.58:8877/5d27a2b928ced57/reftest-analyzer.html#web=eq.log |
@nicolo-ribaudo ping ? |
It isn't really a fix for the mentioned bug but it slightly improve things. In reducing the memory use, the time spent in the GC is reduced either.
The algorithm to compute the bounding box is the same as before but it has just been rewritten to be more efficient.