Giter VIP home page Giter VIP logo

Comments (2)

monoclex avatar monoclex commented on September 25, 2024

update: async would be pointless for filestreams, see these tests (on my ssd:) image

1/2 a gigabyte:

Single threaded reading a gigabyte: 383ms
Asynchronously reading a gigabyte: 330ms
Asynchronously reading a gigabyte, asynchronously: 301ms

1/4 a gigabyte:

Single threaded reading a gigabyte: 205ms
Asynchronously reading a gigabyte: 205ms
Asynchronously reading a gigabyte, asynchronously: 141ms

1/8th a gig:

Single threaded reading a gigabyte: 97ms
Asynchronously reading a gigabyte: 142ms
Asynchronously reading a gigabyte, asynchronously: 75ms

1/16th a gig:

Single threaded reading a gigabyte: 49ms
Asynchronously reading a gigabyte: 98ms
Asynchronously reading a gigabyte, asynchronously: 40ms

1/32th a gig:

Single threaded reading a gigabyte: 25ms
Asynchronously reading a gigabyte: 84ms
Asynchronously reading a gigabyte, asynchronously: 22ms

1/64th a gig:

Single threaded reading a gigabyte: 12ms
Asynchronously reading a gigabyte: 75ms
Asynchronously reading a gigabyte, asynchronously: 14ms

unless you're reading more than 31_250_000 bytes (31.25MB), async on filestreams is pointless (at least in my case)

from stringdb.

monoclex avatar monoclex commented on September 25, 2024

This will be solved with the new Querying related features that 10.1.0 will be bringing to the table.

from stringdb.

Related Issues (7)

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.