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. 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
    2. 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
    3. 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...

      2 replies 0 retweets 3 likes
    4. 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
    5. 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
    6. Daniel Imms‏ @Tyriar Jul 3
      Replying to @Tyriar @cmuratori and

      Realistically though the 10x from fastpipe wouldn't be able to be entirely eliminated as I understand it's a fairly complex problem. Additionally it's critical to backwards compatibility of Windows console apps so it has to do things sometimes like rerender the whole screen.

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

      But those aren't really very justifications in my opinion. Just put a button in your config that is "no backwards compat", and if you check that, then your terminal runs really fast :)

      2 replies 0 retweets 2 likes
    8. Casey Muratori‏ @cmuratori Jul 3
      Replying to @cmuratori @Tyriar and

      But more specifically, I'm pretty sure even back-compat parsing could probably be done an order of magnitude faster than it's being done now. I can't say for sure but I strongly suspect that code is not high-perf code, if one were to go look.

      2 replies 0 retweets 3 likes
    9. Daniel Imms‏ @Tyriar Jul 3
      Replying to @cmuratori @Jonathan_Blow @code

      👍 Did you happen to go look at the glyph code they have? This comment says they already use a texture atlas: https://github.com/microsoft/terminal/issues/10362#issuecomment-862852850 …

      2 replies 0 retweets 0 likes
    10. Casey Muratori‏ @cmuratori Jul 3
      Replying to @Tyriar @Jonathan_Blow @code

      _They_ don't use a texture atlas. That comment is talking about the author's supposition that DirectWrite is using a glyph cache. But the problem is that the calls to DirectWrite itself are a major bottleneck, so it is caching on the wrong side of the problem.

      1 reply 0 retweets 1 like
      Casey Muratori‏ @cmuratori Jul 3
      Replying to @cmuratori @Tyriar and

      The correct architecture is to cache both glyph sizing and glyph imagery. refterm does both. This avoids calling DirectWrite for anything you've seen before, which is the crucial thing you need to do to not be horribly slow, because DirectWrite is awful.

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

          What I was trying to convey to the Windows Terminal team in that thread was that they can just make a tile renderer themselves so they can't abstract away the slow part of their code. I was unsuccessful.

          1 reply 0 retweets 1 like
        3. nick12‏ @nikc_12 Jul 3
          Replying to @cmuratori @Tyriar and

          As I understand it, the supposition is that DirectWrite caches inside each draw call, so that only helps for each DirectWrite draw call, so it doesn't persist across frames or multiple DWrite calls in one frame, making it a lot less useful

          1 reply 0 retweets 0 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