Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • 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
cmuratori's profile
Casey Muratori
Casey Muratori
Casey Muratori
@cmuratori

Tweets

Casey Muratori

@cmuratori

I'm worried that the baby thinks people can't change.

Seattle
caseymuratori.com
Joined March 2009

Tweets

  • © 2021 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 @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet 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.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    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

     

    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. Jonathan Blow‏ @Jonathan_Blow Jul 3
      Replying to @Tyriar @cmuratori @code

      I am trying to get you to take off your Microsoft goggles and just look at this from first principles. How many cycles should it take to handle VT100 escape codes in a console?

      1 reply 0 retweets 8 likes
    2. Jonathan Blow‏ @Jonathan_Blow Jul 3
      Replying to @Jonathan_Blow @Tyriar and

      I am annoyed about this because the kind of stuff you are saying is all I hear from programmers on the internet every day, and the result is that software keeps getting worse and worse, and everyone thinks they are doing great.

      1 reply 0 retweets 10 likes
    3. Jonathan Blow‏ @Jonathan_Blow Jul 3
      Replying to @Jonathan_Blow @Tyriar and

      Like do you actually have any evidence, or even any vague pre-evidentiary reason to think that doing VT100 escape codes should in principle be slow for N == (number of text characters on a screen)? Or are you just picking that as a reason why the comparison is "unfair"

      1 reply 0 retweets 5 likes
    4. Jonathan Blow‏ @Jonathan_Blow Jul 3
      Replying to @Jonathan_Blow @Tyriar and

      because that's the first thing available you thought of, and if Casey had implemented VT100 escape codes, you would find some other reason it is "unfair"?

      1 reply 0 retweets 5 likes
    5. Daniel Imms‏ @Tyriar Jul 3
      Replying to @Jonathan_Blow @cmuratori @code

      He did implement some VT codes, the color demo at the end shows that. What he did not do was run the process through a pseudoterminal which is not native to Windows so it needs to run through the slow an emulation layer which I believe is the real problem here

      3 replies 0 retweets 0 likes
    6. Daniel Imms‏ @Tyriar Jul 3
      Replying to @Tyriar @Jonathan_Blow and

      I'd like us to focus on the actual problem rather than "look at these thousands of frames, omg WT so slow". When conpty is slow, it will cause more frames to be rendered. If conpty is fast, less frames get rendered because everything is done already.

      1 reply 0 retweets 0 likes
    7. Casey Muratori‏ @cmuratori Jul 3
      Replying to @Tyriar @Jonathan_Blow @code

      [1/2] Hi Daniel. I thought it would be clear from the video, but I ran refterm both ways: with fast pipes off, it's running through conhost, so the entire super-slow Windows part _is running_. So the 10x speedup over Windows Terminal was _with_ super slow conhost.

      1 reply 0 retweets 4 likes
    8. Casey Muratori‏ @cmuratori Jul 3
      Replying to @cmuratori @Tyriar and

      [2/2] The _additional_ 10x speed up with fast pipes (for 100x total) is what happens when you bypass conhost. So a simple way to say it would be, Windows Terminal is _both_ extremely slow _and_ conhost is extremely slow, each for about a 10x hit that combine for a 100x hit.

      1 reply 0 retweets 4 likes
    9. Daniel Imms‏ @Tyriar Jul 3
      Replying to @cmuratori @Jonathan_Blow @code

      Thanks for the clarification, I was looking at the code trying to verify that but didn't see any of the conpty APIs being touched. But you mentioned ~22:50 that you should measure how splat looks with VT mode turned on which is what confused me - I don't know what good

      1 reply 0 retweets 0 likes
    10. Daniel Imms‏ @Tyriar Jul 3
      Replying to @Tyriar @cmuratori and

      conpty/conio would do without VT parsing enabled. But anyway to summarize my thoughts: - Yes cache them glyphs - Yes+ make conio faster as it will make the terminal I work on faster

      1 reply 0 retweets 0 likes
      Casey Muratori‏ @cmuratori Jul 3
      Replying to @Tyriar @Jonathan_Blow @code

      Yeah - the goal of this entire exercise was just to demonstrate that Windows Terminal would get 10x faster if they rendered sensibly, and also they'd get another 10x faster on top of that if they fixed conhost etc. There is probably another 10x on top of that for optimization...

      8:06 PM - 3 Jul 2021
      • 3 Likes
      • Sebastian Kassai Ivan Braidi meglio
      2 replies 0 retweets 3 likes
        1. New conversation
        2. Casey Muratori‏ @cmuratori Jul 3
          Replying to @cmuratori @Tyriar and

          ... but I didn't optimize my code so I suspect that the two seconds it currently takes for a 1gb file is just my byte-by-byte parser sucking. So at some point I will do more testing to find out how much more headroom there is, but the 100x I showed is almost certainly still low!

          1 reply 0 retweets 3 likes
        3. Daniel Imms‏ @Tyriar Jul 3
          Replying to @cmuratori @Jonathan_Blow @code

          I agree, someone who works with me on xterm.js focuses hard on throughput so i know there's a lot you can squeeze out there (though we need to deal with JS which has another set of problems).

          1 reply 0 retweets 0 likes
        4. Show replies
        1. New conversation
        2. Daniel Imms‏ @Tyriar Jul 3
          Replying to @cmuratori @Jonathan_Blow @code

          Thanks, I didn't mean to say it was an unfair comparison, which is why I said suspect and asked for clarification originally before someone started throwing punches 🤷‍♂️

          1 reply 0 retweets 0 likes
        3. Jonathan Blow‏ @Jonathan_Blow Jul 3
          Replying to @Tyriar @cmuratori @code

          Really, you are claiming I was throwing punches? Show me where the punches are? I believe I just said repeatedly that what you said looks like excuses, which is pretty mild compared to calling Casey's code "unfair" and "suspect".

          1 reply 0 retweets 3 likes
        4. Show replies

      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

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