Are there any tools that help finding these kinds of things? Like a profiler that says "80% of the allocated bytes are objects of this type, with 95% of those having that field set to None"
You can expect some blog posts from us on this topic at the end of the year / early next year. In short: Organizational focus on a performance target, significant investment, and some great new tooling. We're also…
This appears to be a box-shadow which bleeds out of the input type="range". It seems that there's a missing overflow:hidden somewhere.
I've found two examples of DWARF expressions in the wild: 1. A handwritten expression in libpthread <= 2.19, which was removed in 2014 [1], and 2. the expression covering the PLT section of most binaries. [2] [1]…
It works with optimized builds, and it works better with them than gdb does. When you debug an optimized build with debug info in gdb by stepping line by line, it is easy to accidentally step "too far" and completely…
Oh, you're right. I missed that.
For people who are experiencing a leak on macOS 12: Check if you have set a custom cursor color in the system accessibility preferences. Resetting the cursor color to the default may fix it. See…
WASD doesn't work by default because I'm using a Dvorak keyboard layout. Using KeyEvent.code would solve this problem.
My experience was similar: File.pizza didn't work. However, https://justbeamit.com/ worked flawlessly.
APIs for partial compositing in combination with hardware accelerated compositing was the thing that was missing. If you don't use hardware accelerated compositing, repainting only part of the window, and letting the…
I couldn't find an API for it, but some Apple apps do in fact do this. I've seen three examples of it: - Media playback: When a song or a video is playing in a background app, there is an extra button in the system…
It's 5-10 fps in Firefox Nightly for me, and 50-60 fps in Chrome Canary, on OS X.
Scrolling especially should be much better in multi-process Firefox, because it will be async, so web pages no longer block it. It doesn't fix performance in your react app, though. I've filed a bug about it:…
Thanks!
Oh no, it's that box-shadow bug again :-( We fixed in in Firefox 47, but the fix was deemed too risky to be uplifted to Firefox 46. That was probably a mistake. Anyway, Firefox 47 is going to be released in two weeks on…
Thanks for finding that out. We (Firefox) fixed a box shadow performance bug [1] in Firefox 47, which will be released on June 7th. It looks like this site is hitting that perf bug. [1]…
In the future it'll be possible to use keyEvent.code for this: http://www.w3.org/TR/DOM-Level-3-Events/#keys-codevalues It's supported in Firefox Nightly + Dev edition. I don't know whether other browsers support it yet.
Nightly and Aurora Firefox builds actually support the "code" field on keyboard events, which lets JS know which physical key was pressed on the keyboard. For example, when a Dvorak user presses the key that would be W…
Using the new Firefox profiler [0], which isn't quite ready for public consumption yet but already very helpful: 1. Download Firefox Nightly [1] 2. Install the profiler addon [2] 3. Play the game 4. Press Cmd+Shift+O to…
this.img.src = this.img.src.replace(/Fish[a-zA-Z0-9]\./, "Fish"+this.direction+".") It looks like this line is executed on every frame for all fish in the level. For Firefox users who have the Ghostery addon installed,…
1 happens, as long as the bigger part of the window is on the non-Retina display. If the bigger part of the window is on the Retina display, the window only gets a Retina paint event and the non-Retina display shows a…
Are there any tools that help finding these kinds of things? Like a profiler that says "80% of the allocated bytes are objects of this type, with 95% of those having that field set to None"
You can expect some blog posts from us on this topic at the end of the year / early next year. In short: Organizational focus on a performance target, significant investment, and some great new tooling. We're also…
This appears to be a box-shadow which bleeds out of the input type="range". It seems that there's a missing overflow:hidden somewhere.
I've found two examples of DWARF expressions in the wild: 1. A handwritten expression in libpthread <= 2.19, which was removed in 2014 [1], and 2. the expression covering the PLT section of most binaries. [2] [1]…
It works with optimized builds, and it works better with them than gdb does. When you debug an optimized build with debug info in gdb by stepping line by line, it is easy to accidentally step "too far" and completely…
Oh, you're right. I missed that.
For people who are experiencing a leak on macOS 12: Check if you have set a custom cursor color in the system accessibility preferences. Resetting the cursor color to the default may fix it. See…
WASD doesn't work by default because I'm using a Dvorak keyboard layout. Using KeyEvent.code would solve this problem.
My experience was similar: File.pizza didn't work. However, https://justbeamit.com/ worked flawlessly.
APIs for partial compositing in combination with hardware accelerated compositing was the thing that was missing. If you don't use hardware accelerated compositing, repainting only part of the window, and letting the…
I couldn't find an API for it, but some Apple apps do in fact do this. I've seen three examples of it: - Media playback: When a song or a video is playing in a background app, there is an extra button in the system…
It's 5-10 fps in Firefox Nightly for me, and 50-60 fps in Chrome Canary, on OS X.
Scrolling especially should be much better in multi-process Firefox, because it will be async, so web pages no longer block it. It doesn't fix performance in your react app, though. I've filed a bug about it:…
Thanks!
Oh no, it's that box-shadow bug again :-( We fixed in in Firefox 47, but the fix was deemed too risky to be uplifted to Firefox 46. That was probably a mistake. Anyway, Firefox 47 is going to be released in two weeks on…
Thanks for finding that out. We (Firefox) fixed a box shadow performance bug [1] in Firefox 47, which will be released on June 7th. It looks like this site is hitting that perf bug. [1]…
In the future it'll be possible to use keyEvent.code for this: http://www.w3.org/TR/DOM-Level-3-Events/#keys-codevalues It's supported in Firefox Nightly + Dev edition. I don't know whether other browsers support it yet.
Nightly and Aurora Firefox builds actually support the "code" field on keyboard events, which lets JS know which physical key was pressed on the keyboard. For example, when a Dvorak user presses the key that would be W…
Using the new Firefox profiler [0], which isn't quite ready for public consumption yet but already very helpful: 1. Download Firefox Nightly [1] 2. Install the profiler addon [2] 3. Play the game 4. Press Cmd+Shift+O to…
this.img.src = this.img.src.replace(/Fish[a-zA-Z0-9]\./, "Fish"+this.direction+".") It looks like this line is executed on every frame for all fish in the level. For Firefox users who have the Ghostery addon installed,…
1 happens, as long as the bigger part of the window is on the non-Retina display. If the bigger part of the window is on the Retina display, the window only gets a Retina paint event and the non-Retina display shows a…