Code Monkey home page Code Monkey logo

Comments (8)

AmokHuginnsson avatar AmokHuginnsson commented on July 18, 2024

Can you please try using set_hint_delay() call and report results? (10ms should be enough)

from replxx.

amosbird avatar amosbird commented on July 18, 2024

I tried disabling hint, it's faster, but still not desireable. Pasting 1M text runs forever. It might also worth to disable line wrapping but I didn't find the code

from replxx.

AmokHuginnsson avatar AmokHuginnsson commented on July 18, 2024

Can you check if current master fixes your issue?

from replxx.

amosbird avatar amosbird commented on July 18, 2024

It's much better than before, but still hangs when pasting 1M text. https://la.wentropy.com/n55l.html

from replxx.

AmokHuginnsson avatar AmokHuginnsson commented on July 18, 2024

And now?

from replxx.

amosbird avatar amosbird commented on July 18, 2024

It doesn't freeze now, taking about 30 seconds for pasting 1M text, however a readline based client only takes 4 seconds https://github.com/yandex/ClickHouse/blob/master/dbms/programs/client/Client.cpp#L649

from replxx.

AmokHuginnsson avatar AmokHuginnsson commented on July 18, 2024

@amosbird Is this issue solved with your contribution?

from replxx.

amosbird avatar amosbird commented on July 18, 2024

Yeah, now pasting 1M text only takes 3 seconds.

from replxx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.