Complex JS-heavy Web Apps, Avoiding the Slow (Chrome Dev Summit 2018)

  Рет қаралды 39,623

Chrome for Developers

Chrome for Developers

Күн бұрын

Пікірлер: 62
@NerveClasp
@NerveClasp 6 жыл бұрын
The best talk of the summit. Thanks!
@gomidefabio
@gomidefabio 6 жыл бұрын
Relevant, interesting, informative, and fun! Great presentation Mariko and Jake!
@LookRainy
@LookRainy 6 жыл бұрын
wow is she using a Switch controller to control the slides?
@jakearchibald
@jakearchibald 6 жыл бұрын
We both are 😀
@najiyoussefelhamdi2649
@najiyoussefelhamdi2649 6 жыл бұрын
@@jakearchibald that's actually amazing lol
@stetoscomechannel5426
@stetoscomechannel5426 3 жыл бұрын
@@najiyoussefelhamdi2649 The controllers have bluetooth I think so you should be able to use them with your laptop
@ih8tusernam3s
@ih8tusernam3s 4 жыл бұрын
Jake's so humble yet knowledgeable.
@ShahGhafoori
@ShahGhafoori 6 жыл бұрын
It was so great to get to watch you guys do this live ( I was at the very front-row). Cant wait for Day 2 of the summit
@SoyOscarRH
@SoyOscarRH 6 жыл бұрын
Man, this talk make me smile and learn a lot, Thanks!
@jamesxxxxxx
@jamesxxxxxx 6 жыл бұрын
OMG, I want to see this right, but my project's deadline is killing me.
@phillee5531
@phillee5531 6 жыл бұрын
here...same...
@AenGex
@AenGex 6 жыл бұрын
Great use of the Joy-Cons there! Have you guys tried with the new Ivy renderer of Angular 7? I think you can get pretty similar results to Preact
@K3dev
@K3dev 6 жыл бұрын
Really good talk, I hope it get good exposure and more developers start applying this kind of optimizations.
@sleeplessdev7204
@sleeplessdev7204 5 жыл бұрын
Great presentation! This really opened my eyes as to what's possible with web apps, and ways to improve my own applications. Explaining what special tools and frameworks they used and where to find them was really helpful, they make valuable additions to my bookmark library :3
@sekiyika
@sekiyika 6 жыл бұрын
Jake still wore no shoes while presenting, haha
@murderfromtheground
@murderfromtheground 6 жыл бұрын
27:42 is Jake not wearing any shoes??
@jakearchibald
@jakearchibald 6 жыл бұрын
You shoes you lose
@chidinduogbonna5958
@chidinduogbonna5958 5 жыл бұрын
Does this have an API, so it can be used through cloud functions before images are stored.
@yasinyaqoobi
@yasinyaqoobi 6 жыл бұрын
I compress jpges with guetzli. Besides being faster does squoosh provide any other advantage for compressing jpegs?
@jakearchibald
@jakearchibald 6 жыл бұрын
I'd like to add Guetzli at some point, but I keep hearing the quality isn't much different to MozJPEG. Are you getting very different results?
@yasinyaqoobi
@yasinyaqoobi 6 жыл бұрын
​@@jakearchibald No, I actually ran couple of tests right now and squoosh is doing better than guetzli (quality 75). I don't know if I am doing it wrong but guetzli's image size was 2.2mb and 914kb for squoosh. Not sure how you can run guetzli in the browser. It takes 5 - 10 mins to compress an 8mb image on my iMac. Link to image: stag.cyberserge.com/xlarge-blue-lamp-01.jpg
@jakearchibald
@jakearchibald 6 жыл бұрын
@@yasinyaqoobi different codecs might have a different interpretation of what "75" means in terms of quality. The best judge is the eye.
@karansapolia2676
@karansapolia2676 6 жыл бұрын
This was such a helpful demonstration! Thank you 😊
@anticom1337
@anticom1337 5 жыл бұрын
Only 27 minutes into the presentation i noticed that jake isn't wearing shoes :O
@dan-garden
@dan-garden 6 жыл бұрын
This idea should be implemented in a neural network to generate the best quality with the lowest filesize.
@sekiyika
@sekiyika 6 жыл бұрын
Great work!
@MikesGlitch
@MikesGlitch 6 жыл бұрын
23:25 I love how they're using React instead of Angular
@jakearchibald
@jakearchibald 6 жыл бұрын
We're using Preact which is much smaller than React.
@duplexnavigator
@duplexnavigator 6 жыл бұрын
@@jakearchibald This is the best talk I've seen this year, and I've seen _a lot_. Great work you two. Also, go Preact!
@youcaio
@youcaio 6 жыл бұрын
Jake's humor is Unesco World Heritage stuff. (truly inspiring and kinda fascinating talk, btw)
@jakearchibald
@jakearchibald 6 жыл бұрын
I have no idea what that is but I'm going to pretend it's a good thing.
@nielsvanderveer
@nielsvanderveer 6 жыл бұрын
Just realised on 27:46 the guy is presenting on socks. Like it +1
@Henrik0x7F
@Henrik0x7F 6 жыл бұрын
Read the first sentence in the description
@abhijeet1abhijeet
@abhijeet1abhijeet 6 жыл бұрын
I Need this now !
@hobbyturystaSEO
@hobbyturystaSEO 4 жыл бұрын
how about new html tag
@dmitri88888
@dmitri88888 6 жыл бұрын
Loved it!
@MrMaxtermax
@MrMaxtermax 6 жыл бұрын
Awesome!!
@SteveUrlz
@SteveUrlz 6 жыл бұрын
hehe I love that presentation style :P
@sorenahlback1307
@sorenahlback1307 6 жыл бұрын
Why is this better than compressing with Photoshop?
@jakearchibald
@jakearchibald 6 жыл бұрын
Photoshops codecs are trash (this is covered in the talk)
@pardal_bs
@pardal_bs 5 жыл бұрын
They're using Nintendo Switch controllers to pass the slides. What?
@JustJohnny
@JustJohnny 6 жыл бұрын
I'm guessing everyone and their mother is trying to use squoosh right now. It's slower than molasses.
@jakearchibald
@jakearchibald 6 жыл бұрын
Slow to load, or slow to compress images? It shouldn't be slow to load, it's 15k to first interaction. Compression time depends on the codec, settings, size of image, plus the capability of your device. Compression is done locally, so there's no contention with other users.
@JustJohnny
@JustJohnny 6 жыл бұрын
@@jakearchibald When I selected one of the default images provided, it sat there for a very long time. So long (over a minute), I went into another tab to do other things. However, I just tried it and it seems to be moving very quickly now. Could have just been a fluke. Looks nice, I'll test it a few more times and probably suggest it to clients for image compression.
@staskh
@staskh 6 жыл бұрын
Joke Archibald
@jakearchibald
@jakearchibald 6 жыл бұрын
That's what my mum calls me
@cedpoilly
@cedpoilly 6 жыл бұрын
💚
@AungBaw
@AungBaw 6 жыл бұрын
Funny and awesome
@alexgalays910
@alexgalays910 6 жыл бұрын
Very nice and entertaining talk. Agreed about React & co being too big. React DOM code "fire" might bring it to a more acceptable level though, but probably will never be as small as you guys want: github.com/facebook/react/issues/13525 Also keep in mind that optimizing for downloaded bytes is great but it's not the whole story. React does a few interesting things so that the UI is less often blocked (update priorities) and has a few tricks to improve perceived performances (suspense)
@jakearchibald
@jakearchibald 6 жыл бұрын
We're measuring time to interaction, not just bytes
@alexgalays910
@alexgalays910 6 жыл бұрын
Absolutely, I should have been clearer. React supposedly do things that improves perceived performances once the app is hot and runs. Whether it's more important than the first load probably depends on what kind of app it is, how long you use it at a time, etc. I wonder how much react instead of preact would disturb that
@bibekthapa9468
@bibekthapa9468 6 жыл бұрын
he donot have shoes
@jakearchibald
@jakearchibald 6 жыл бұрын
I'm hoping to get some for Christmas
@bibekthapa9468
@bibekthapa9468 6 жыл бұрын
@@jakearchibald donot do that people who donot wear shoe are genius
@billlee8881
@billlee8881 6 жыл бұрын
Does anybody noticed ,they use Nintendo controllers as pointer.
@ranbuch
@ranbuch 6 жыл бұрын
I really wish there was an easy way to use this tool as a library with an API That way we could compress images before the user is uploading them to the server 🤔
@dinoscheidt
@dinoscheidt 6 жыл бұрын
15:36 shows the code - you can simply use the wasm file of optipng in your client side code. Its right here: github.com/GoogleChromeLabs/squoosh/tree/master/codecs/optipng Check out example.html
@B1FREQUENCY
@B1FREQUENCY 6 жыл бұрын
I live to FAIL HARD AND FAST....SO THAT I CAN FINALLY REBEGIN AGAIN😀
@Steve-Richter
@Steve-Richter 6 жыл бұрын
The western guy explained things much better. Why does politically correct have to be shoved down everyone’s throat?
@aprilmintacpineda2713
@aprilmintacpineda2713 6 жыл бұрын
Loved it!
@billlee8881
@billlee8881 6 жыл бұрын
Does anybody noticed ,they use Nintendo controllers as pointer.
@jakearchibald
@jakearchibald 6 жыл бұрын
They did now!
Architecting Web Apps - Lights, Camera, Action! (Chrome Dev Summit 2018)
25:12
Chrome for Developers
Рет қаралды 61 М.
Speed Essentials: Key Techniques for Fast Websites (Chrome Dev Summit 2018)
29:21
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 37 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
OpenAI FINALLY Added Video to ChatGPT & More AI Use Cases
19:55
The AI Advantage
Рет қаралды 6 М.
Instant Loading: Building offline-first Progressive Web Apps - Google I/O 2016
46:14
The main thread is overworked & underpaid (Chrome Dev Summit 2019)
30:06
Chrome for Developers
Рет қаралды 126 М.
virtual-scroller: Let there be less (DOM) (Chrome Dev Summit 2018)
30:17
Chrome for Developers
Рет қаралды 42 М.
I tried React and it Ruined My Life
1:19:10
Tsoding Daily
Рет қаралды 154 М.
Using WebAssembly and Threads (Chrome Dev Summit 2018)
22:13
Chrome for Developers
Рет қаралды 23 М.
Smooth Moves: Rendering at the Speed of Right ® (Chrome Dev Summit 2018)
26:49
Chrome for Developers
Рет қаралды 10 М.