Это видео недоступно.
Сожалеем об этом.

Web Performance Mini Series: Responses

Поделиться
HTML-код
  • Опубликовано: 14 янв 2019
  • Ooh it's 2019! Let's get it rolling with a mini series on web performance, and what finer way than responding to user interactions? I'm going to show you the impact of delays, how to instrument your code and a little UX pattern you can put to good use if your responses are running long.
    All aboard!

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

  • @alffonti8227
    @alffonti8227 10 месяцев назад

    Amazing. I really appreciate how you focus on the concept you are explaning while still commenting the rest of the code.

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

    60 fps is the refresh rate for most of the monitors(60FPS is the frequency that is smooth to humans). 1sec = 1000ms.
    1000/60 = 16.6ms. 16.6ms is the max time that your task/animation should take otherwise it'll feel laggy.
    Great video Paul!

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

      Yeah, typically you have less because of browser housekeeping

  • @prasannajathan
    @prasannajathan 5 лет назад

    I'm watching you for the first time, and like the expressions you throw.

  • @danitk8888
    @danitk8888 5 лет назад +11

    Love you, Web Dev Vin Diesel

    • @aerotwist
      @aerotwist  5 лет назад +3

      Lol... Is that a good thing?

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

    I'm not sure why your channel is not popular... That was fantastic!

  • @matthewbarbara2916
    @matthewbarbara2916 5 лет назад +27

    I have been working 4 years as web dev and I still struggle to utilize the performance tab of chrome's Dev tools.
    Any chance of a video which explains what each section is for in the performance tab?

    • @aerotwist
      @aerotwist  5 лет назад +20

      Yeah that will likely come at the end of mini series :)

    • @sylvhama
      @sylvhama 5 лет назад +4

      @@aerotwist Cool, I was going to ask for the same thing. Thanks for the video, glad to see you back!

  • @teiem5456
    @teiem5456 5 лет назад +4

    Looking forward for more videos in this series - One thing I would love to see: Often I know multiple ways of how to do something but am not sure whats the best way (performance oriented) to do it, maybe you could go over some common things (e.g. classes vs closures vs prototype, loops...) and tell us the advantages of the given options.

    • @aerotwist
      @aerotwist  5 лет назад

      I think the thing to do there is test. It changes as js engines update... Also within reason you don't want optimize for the engines like that.

  • @SAS-qq5ce
    @SAS-qq5ce 5 лет назад

    Its good to see u, my daily motivation

  • @mohamedhussainsh7913
    @mohamedhussainsh7913 5 лет назад +3

    Missing your videos for last 3 weeks... Thanks Paul...Today Learned Performance mark and measure and how it is displayed on the performance...Please do one video on the page rendering steps and best practices.

  • @Rihsto
    @Rihsto 5 лет назад +4

    Nice! Tbh I was a little bit worried that you decided not to continue with your vids in the new year, glad you finally showed up!

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

      I very nearly didn't. Fun fact: every upload requires me to steel myself. Same with being on stage. Isn't psychology wonderful?

    • @Rihsto
      @Rihsto 5 лет назад

      @@aerotwist I thought so. It's really inspiring to see people like you, who can create interesting and educational content (be it vid, presentation or blog post etc) and at the same time make it fun and interesting. I'm so envious od that skill :D Thank you for the time and effort you put into this. You could obviously spend it on something else but decided not to 👏

  • @jsoverson
    @jsoverson 5 лет назад

    Awesome video, great tip to show *some* feedback at 100ms no matter what. Thanks!

  • @robinbrandt2183
    @robinbrandt2183 5 лет назад

    Thank you. Your videos are much appreciated.

  • @KimHogeling
    @KimHogeling 5 лет назад

    Perfmatters! I've introduced so many people (colleagues, guests of meetups or confs) to the RAIL model over the past 3 or maybe more years, and now I have your miniseries to back it all up with some practical show cases. Looking forward to your next episodes :) Really appreciate your work, thanks!

  • @dixingxu
    @dixingxu 5 лет назад

    great video! I love it!

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

    Love the tutorial. Joined your channel from devtips, and I found the channel quite interesting and the way you share your thoughts.

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

    I subscribed to you and have waited... weeks to get an upload! I'm glad you're back from what I anticipate was a break - welcome back!

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

      It was a monster break, and a very necessary one! 😂👍 Super glad you're aboard!

    • @mathiaskandelborg6450
      @mathiaskandelborg6450 5 лет назад

      Great to know you take of of yourself when needed. I really enjoy your content and would hate to see the quality deteriorate.
      You're truly an inspiration - just thought you'd like to know that 😊

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

      Thank you! That's really kind :)

  • @RobertCaka
    @RobertCaka 5 лет назад

    Thanks for video. I've watched it :)

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

    2019 has officially begun!

  • @jradplowman
    @jradplowman 5 лет назад

    Good to have you back!!! I was going through Paul withdrawals!!!

  • @imjasonmiller
    @imjasonmiller 5 лет назад

    Hilarious intro. first laugh of the day. Loving your videos Paul!

  • @Ecker00
    @Ecker00 5 лет назад

    Very nice! Was not familiar with the performance functions. I've usually been writing my own datestamp calculations. This seems so much easier. 💪

  • @peterwang4961
    @peterwang4961 5 лет назад

    I was waiting for the ending to be "...on the flip side". lol

    • @aerotwist
      @aerotwist  5 лет назад

      I know right? I watched it back and I was ... surprised at myself.

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

    mark and measure added to toolbox 👷🔧

  • @nisarhassan7093
    @nisarhassan7093 5 лет назад

    Great! I would love to have some contents about Render Optimization.

  • @Vobango
    @Vobango 5 лет назад

    Great video! One thing though about the spinner response - if the doSomeWork function takes longer than 100 ms to resolve (but only a little bit, maybe 150-200 ms), the spinner would only appear as a short "flash" which is just as bad for UX than a long delay. For that use case the spinner should have a minimum timeout for which it's visible on the screen.

    • @aerotwist
      @aerotwist  5 лет назад

      Yeah I actually recommend fading / animating them in to soften any UI changes

  • @avilde
    @avilde 5 лет назад +3

    Nice intro :)

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

    Oh Hi Paul

  • @dominikdeimel9486
    @dominikdeimel9486 5 лет назад

    First of all a reaaaaaaaaaly late happy new year 🎈
    Can you please move on with this series? I‘m really interested in Performance! This could help me at work and can keep a lot of pain away if the projects are done in right way or if they are propperly optimzied.
    When there are more Videos to come could you optimize a Real-World example and demostrate the prpl pattern?

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

      Optimizing an existing project is challenging because of permissions and the like :-/
      Still, will go as fast as I can!

  • @emilmartinov
    @emilmartinov 5 лет назад +3

    At last ! First !

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

    Great ideas, thanks for sharing! I like the humo(u)r in your comment about colo(u)r. I don't want to labo(u)r the point though or our american neighbo(u)rs may notice this behavio(u)r and start to harbo(u)r bad feelings. (Sidewalk|Footpath).

    • @aerotwist
      @aerotwist  5 лет назад

      (Tap|Faucet), (Autumn|Fall) :)

  • @MarcelRobitaille
    @MarcelRobitaille 5 лет назад

    How would you measure how quickly react renders since you can mark when you call set state but you don't know when the page actually gets rendered?

    • @aerotwist
      @aerotwist  5 лет назад

      Mark the start, use a requestAnimationFrame to get the start of the next frame.

    • @MarcelRobitaille
      @MarcelRobitaille 5 лет назад

      @@aerotwist Well you know all the tricks, don't you?

    • @aerotwist
      @aerotwist  5 лет назад

      No I just know some quite well :)

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

    hey. where you've been?

    • @aerotwist
      @aerotwist  5 лет назад +4

      I was having a nice long break! :D

  • @NeoChromer
    @NeoChromer 5 лет назад

    Can I do this with NodeJS too? performance.mark ?

  • @wilkins7407
    @wilkins7407 5 лет назад +3

    4:29

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

    RAIL pattern

  • @superchillh3o
    @superchillh3o 5 лет назад

    So uh... did you upgrade to Mojave yet : )

  • @romanshestakov
    @romanshestakov 5 лет назад

    Nice video, btw what is the music track ?) 😇

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

      Have a look around Epidemic Sound, it's where it all comes from!

  • @Jeremybelleu
    @Jeremybelleu 5 лет назад

    Hey Paul, I think you still need to upgrade to Mojave.

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

      You're the best

    • @PaulKinlan
      @PaulKinlan 5 лет назад

      More importantly, what editor do you use?

    • @aerotwist
      @aerotwist  5 лет назад

      Notepad

    • @PaulKinlan
      @PaulKinlan 5 лет назад

      @@aerotwist what theme and font?

    • @aerotwist
      @aerotwist  5 лет назад

      No theme, just comic sans

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

    First , again

  • @magnumchicken
    @magnumchicken 5 лет назад

    I thought you died...