Skip to content
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

safePerformance for performance-canvas (#1487) #1678

Merged

Conversation

Kuuuube
Copy link
Member

@Kuuuube Kuuuube commented Dec 17, 2024

This targets the branch of #1487

Fixes merge conflicts from #1677

History here looks a little funky but when it's actually merged into the PR only 65ec09d and e80b3c3 should show since master already has the others.

Kuuuube and others added 6 commits December 17, 2024 04:45
* Make dict moving faster and save scroll location

* Replace dictionaryInfoMap with find

* Replace cleanup loop with map

* Make for loop sane
…vs#1675)

* Fix constant error on firefox mobile from chrome.contextMenus

* Put if check over whole block

* Split out into separate method so it can early return
…1677)

* Disallow the use of performance

* Add safePerformance

* Replace all performance with safePerformance

* Disconnect safePerformance from Performance due to constructor issues

* Fix missing import

* Add safe-performance to eslintrc

* Ignore errors for using performance in dev directory

* Add missing imports
…ance-canvas

# Conflicts:
#	ext/js/display/display.js
@Kuuuube Kuuuube requested a review from a team as a code owner December 17, 2024 19:51
Copy link

codspeed-hq bot commented Dec 17, 2024

CodSpeed Performance Report

Merging #1678 will degrade performances by 21.36%

Comparing Kuuuube:safe-perf-performance-canvas (e80b3c3) with performance-canvas (2c5f42d)

Summary

❌ 1 (👁 1) regressions
✅ 2 untouched benchmarks

Benchmarks breakdown

Benchmark performance-canvas Kuuuube:safe-perf-performance-canvas Change
👁 japanese transformations-full (n=212) 48.5 ms 61.7 ms -21.36%

Copy link

Playwright test results

failed  1 failed
passed  4 passed

Details

stats  5 tests across 4 suites
duration  5 minutes, 25 seconds
commit  b39bd51

Failed tests

chromium › visual.spec.js › visual

@djahandarie djahandarie merged commit 3622197 into yomidevs:performance-canvas Dec 18, 2024
10 checks passed
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