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

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

Комментарии • 62

  • @NerveClasp
    @NerveClasp 6 лет назад +6

    The best talk of the summit. Thanks!

  • @gomidefabio
    @gomidefabio 6 лет назад +3

    Relevant, interesting, informative, and fun! Great presentation Mariko and Jake!

  • @ih8tusernam3s
    @ih8tusernam3s 4 года назад

    Jake's so humble yet knowledgeable.

  • @sleeplessdev7204
    @sleeplessdev7204 5 лет назад +2

    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

  • @SoyOscarRH
    @SoyOscarRH 6 лет назад +3

    Man, this talk make me smile and learn a lot, Thanks!

  • @LookRainy
    @LookRainy 6 лет назад +26

    wow is she using a Switch controller to control the slides?

    • @jakearchibald
      @jakearchibald 6 лет назад +21

      We both are 😀

    • @najiyoussefelhamdi2649
      @najiyoussefelhamdi2649 6 лет назад +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

  • @K3dev
    @K3dev 6 лет назад +4

    Really good talk, I hope it get good exposure and more developers start applying this kind of optimizations.

  • @ShahGhafoori
    @ShahGhafoori 6 лет назад +1

    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

  • @AenGex
    @AenGex 6 лет назад +1

    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

  • @karansapolia2676
    @karansapolia2676 6 лет назад +1

    This was such a helpful demonstration! Thank you 😊

  • @jamesxxxxxx
    @jamesxxxxxx 6 лет назад +10

    OMG, I want to see this right, but my project's deadline is killing me.

  • @sekiyika
    @sekiyika 6 лет назад +5

    Jake still wore no shoes while presenting, haha

  • @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 лет назад +1

    Just realised on 27:46 the guy is presenting on socks. Like it +1

  • @dan-garden
    @dan-garden 6 лет назад

    This idea should be implemented in a neural network to generate the best quality with the lowest filesize.

  • @anticom1337
    @anticom1337 5 лет назад +1

    Only 27 minutes into the presentation i noticed that jake isn't wearing shoes :O

  • @sekiyika
    @sekiyika 6 лет назад +2

    Great work!

  • @abhijeet1abhijeet
    @abhijeet1abhijeet 6 лет назад

    I Need this now !

  • @MrMaxtermax
    @MrMaxtermax 6 лет назад +2

    Awesome!!

  • @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.

  • @dmitri88888
    @dmitri88888 6 лет назад +1

    Loved it!

  • @murderfromtheground
    @murderfromtheground 6 лет назад +2

    27:42 is Jake not wearing any shoes??

  • @Henrik0x7F
    @Henrik0x7F 6 лет назад

    Read the first sentence in the description

  • @hobbyturystaSEO
    @hobbyturystaSEO 4 года назад

    how about new html tag

  • @SteveUrlz
    @SteveUrlz 6 лет назад

    hehe I love that presentation style :P

  • @sorenahlback1307
    @sorenahlback1307 6 лет назад

    Why is this better than compressing with Photoshop?

    • @jakearchibald
      @jakearchibald 6 лет назад +2

      Photoshops codecs are trash (this is covered in the talk)

  • @MikesGlitch
    @MikesGlitch 6 лет назад +4

    23:25 I love how they're using React instead of Angular

    • @jakearchibald
      @jakearchibald 6 лет назад +14

      We're using Preact which is much smaller than React.

    • @duplexnavigator
      @duplexnavigator 6 лет назад +1

      @@jakearchibald This is the best talk I've seen this year, and I've seen _a lot_. Great work you two.
      Also, go Preact!

  • @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 лет назад +1

    Joke Archibald

  • @AungBaw
    @AungBaw 6 лет назад

    Funny and awesome

  • @cedpoilly
    @cedpoilly 6 лет назад

    💚

  • @bibekthapa9468
    @bibekthapa9468 6 лет назад

    he donot have shoes

    • @jakearchibald
      @jakearchibald 6 лет назад +1

      I'm hoping to get some for Christmas

    • @bibekthapa9468
      @bibekthapa9468 6 лет назад

      @@jakearchibald donot do that
      people who donot wear shoe are genius

  • @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 лет назад +1

      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

  • @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.