Coder Social home page Coder Social logo

improve headers download speed about bitc HOT 6 CLOSED

bit-c avatar bit-c commented on June 13, 2024
improve headers download speed

from bitc.

Comments (6)

mx4 avatar mx4 commented on June 13, 2024

Yeah. Unfortunately this worked reliably well enough for me not to bother fixing this. It's on my TODO.md though.

from bitc.

mx4 avatar mx4 commented on June 13, 2024

Hm so a bug apparently crept in just a couple of days ago. The end result is that the ui thread was notified for every incoming header. And there are lots of them when we're syncing up. It's fixed now, and it should help this problem.

from bitc.

mx4 avatar mx4 commented on June 13, 2024

Btw, one can zap the headers cached locally with: ./bitc -z

from bitc.

mx4 avatar mx4 commented on June 13, 2024

Just realized that I had added a file_sync a while back that ended up being costly when called ~300,000 times in a row upon initial sync-up. Things are now measurably faster.

from bitc.

jonasschnelli avatar jonasschnelli commented on June 13, 2024

okay.. sound's great! will have a look at it.

from bitc.

jonasschnelli avatar jonasschnelli commented on June 13, 2024

Wow. Blazing fast now.
Closing issue.

from bitc.

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.