By using Twitter’s services you agree to our Cookie Use and Data Transfer outside the EU. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
nolanlawson's profile
Nolan Lawson
Nolan Lawson
Nolan Lawson
@nolanlawson

Tweets

Nolan Lawson

@nolanlawson

Web Perf PM at @MicrosoftEdge. @PouchDB maintainer. Androidian-turned-JavaScripter. I love all things open source and open web. Opinions expressed are mine.

nolanlawson.com
Joined May 2011

Tweets

  • © 2017 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Retweet this to your followers?

Optional comment for Retweet
 

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
 
140

Are you sure you want to delete this Tweet?

Promote this Tweet

Block

  • Add a location to your Tweets

    When you tweet with a location, Twitter stores that location. You can switch location on/off before each Tweet and always have the option to delete your location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    Preview

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Buy Now

    Hmm... Something went wrong. Please try again.

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. Nolan Lawson‏ @nolanlawson Jan 5

      optimize-js 1.0.3 is out, with improvements for Browserify and Webpack 1 by @xander76, and more accurate benchmarks:http://github.com/nolanlawson/optimize-js …

      2 replies 12 retweets 34 likes
    2. Nolan Lawson‏ @nolanlawson Jan 5

      Unfortunately the old benchmarks were biased in optimize-js's favor, e.g. improvement for Chrome isn't ~57% but more like ~20%.

      1 reply 1 retweet 0 likes
      Nolan Lawson‏ @nolanlawson Jan 5

      Measuring this stuff is extremely tricky! In short, this is the error I made:pic.twitter.com/O1uisPXxEG

      • Retweets 73
      • Likes 133
      • Джей Matt Modrowski Mike Shi Andrew Del Prete Thierry Nicola khaxan chriz Tim Dussinger graste
      10:37 AM - 5 Jan 2017
      6 replies 73 retweets 133 likes
        1. Nolan Lawson‏ @nolanlawson Jan 5

          I also had to figure out a way to exclude the network time and browser caching of parsed code, more details here:https://github.com/nolanlawson/optimize-js/issues/37#issuecomment-270583578 …

          1 reply 0 retweets 4 likes
        2. Nolan Lawson‏ @nolanlawson Jan 5

          The new benchmarks show optimize-js still provides a perf boost in Chrome, Edge, and Firefox, but Safari is basically a wash:pic.twitter.com/xBkf6KOgmC

          1 reply 0 retweets 0 likes
        3. Nolan Lawson‏ @nolanlawson Jan 5

          BTW as always, please don't use optimize-js without testing it on *your* codebase and target browsers. It's not magic performance dust. 🙂

          0 replies 1 retweet 1 like
        1. Maciej Sikora‏ @macsikora Jan 5

          @nolanlawson and maybe some prove of that?

          1 reply 0 retweets 0 likes
        2. Nolan Lawson‏ @nolanlawson Jan 5

          @macsikora You can confirm using performance.mark()/measure() and DevTools. Quick example: http://bl.ocks.org/nolanlawson/990dae2feb36669e8d8f39fa20e40e05 …pic.twitter.com/4Asw3uRWAx

          chrome timeline with mark/measures showing measure including and not including script compilation
          1 reply 0 retweets 1 like
        3. Nolan Lawson‏ @nolanlawson Jan 5

          @macsikora Getting it to exclude network/cached-parse time is trickier, but I have a link in the thread about how to do that.

          0 replies 0 retweets 0 likes
        1. Bramus!‏ @bramus Jan 5

          @nolanlawson What about throwing in a setTimeout() to mark the end? Will that capture correctly?

          1 reply 0 retweets 0 likes
        2. Nolan Lawson‏ @nolanlawson Jan 5

          @bramus The end is not the difficult part to capture; it's the beginning. :) setTimeout isn't necessary.

          1 reply 0 retweets 0 likes
        3. Nolan Lawson‏ @nolanlawson Jan 5

          @bramus Ah wait I see what mean. Yeah, that second script boundary is not strictly necessary.

          1 reply 0 retweets 0 likes
        4. Balint Erdi‏ @baaz Feb 10

          @nolanlawson @bramus So why is the first one necessary?

          1 reply 0 retweets 0 likes
        5. Calvin‏ @CWMma Feb 10

          @baaz @nolanlawson @bramus the parsing delay happens before the script is executed, so you can't capture it from inside the same script

          0 replies 0 retweets 2 likes
        1. Sasha Aickin‏ @xander76 Jan 5

          @nolanlawson thanks for finding a way to fix the measurement, and for publicizing the knowledge!

          1 reply 0 retweets 0 likes
        2. Nolan Lawson‏ @nolanlawson Jan 5

          @xander76 Thank you for raising the issue about the accuracy. :) It's important to be meticulous with this stuff!

          0 replies 0 retweets 1 like
        1. stefan judis‏ @stefanjudis Jan 5

          @nolanlawson Can you point me to a resource explaining this? :)

          1 reply 0 retweets 0 likes
        2. Nolan Lawson‏ @nolanlawson Jan 5

          Nolan Lawson Retweeted Nolan Lawson

          @stefanjudis Basically the browser starts parsing well before that first mark, see https://github.com/nolanlawson/optimize-js/issues/37 … and:https://twitter.com/nolanlawson/status/817115368040763392 …

          Nolan Lawson added,

          chrome timeline with mark/measures showing measure including and not including script compilation
          Nolan Lawson @nolanlawson
          @macsikora You can confirm using performance.mark()/measure() and DevTools. Quick example: http://bl.ocks.org/nolanlawson/990dae2feb36669e8d8f39fa20e40e05 … pic.twitter.com/4Asw3uRWAx
          1 reply 1 retweet 0 likes
        3. stefan judis‏ @stefanjudis Jan 6

          @nolanlawson Great. Thanks. :)

          0 replies 0 retweets 0 likes
      1. CodenameSteeveKnight‏ @CNSKnight Jan 5

        @nolanlawson @dan_abramov makes sense tho.

        0 replies 0 retweets 0 likes

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2017 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Cookies
        • Ads info