Code Monkey home page Code Monkey logo

Comments (8)

rejetto avatar rejetto commented on July 26, 2024 1

your video is very interesting, i had no idea hfs3 was slower.
Would you make a test using the same vfs, that is with root in hfs2 to confirm the timing is roughly the same? don't need any video proof.
if it's confirmed I will make some testing to see how I can improve that.

from hfs2.

rejetto avatar rejetto commented on July 26, 2024

this is quite inherent to how hfs2 works.
i don't exclude a clever template could solve it, one that is not reloading from scratch at each change, similarly to what hfs3 does.

my suggestion is to try hfs3 at https://github.com/rejetto/hfs#introduction
I paid a lot of attention to cases with many files, and yet no indexes are involved.
LMK

from hfs2.

VegethB avatar VegethB commented on July 26, 2024

this is quite inherent to how hfs2 works. i don't exclude a clever template could solve it, one that is not reloading from scratch at each change, similarly to what hfs3 does.

my suggestion is to try hfs3 at https://github.com/rejetto/hfs#introduction I paid a lot of attention to cases with many files, and yet no indexes are involved. LMK

Ok, thanks for the answer.
I've already tried HFS3 and it was slower videoShowcase (bearing in mind that the results were populated as they went) but at the moment there is a need to 'upload' to these folders (function that is yet to be implemented).
The video is a quick example, the 1st is HFS2 and the 2nd is HFS3.
Weirdly it was much slower (the HFS.exe software runs in an ssd).
Now (HFS2) it was very fast, because I did the test with no one connected, but in use with multiple users, the search slows down a lot.
The VFS structures look different but actually in HFS3 I decided to directly use the root folder which contains all the folders seen in the HFS2 VFS (I don't think it changes the search speed because the excluded folders have no more than 2 files inside them).
However, my intention is definitely to switch to HFS3 when some features currently absent compared to HFS2 (such as uploading) will be implemented.

Thanks again.

from hfs2.

rejetto avatar rejetto commented on July 26, 2024

the time difference is frankly strange.
I suspect there may be some strange folders like "recycle bin" that hfs3 is searching too.

from hfs2.

VegethB avatar VegethB commented on July 26, 2024

your video is very interesting, i had no idea hfs3 was slower. Would you make a test using the same vfs, that is with root in hfs2 to confirm the timing is roughly the same? don't need any video proof. if it's confirmed I will make some testing to see how I can improve that.

vSc2

Exact same VFS (I didn't hide 'Varie' but the rest is the same as HFS2's VFS) and it looks the same as before.
If you need some specific logs to export with hfs2 and hfs3 for comparisons I have no problem sharing (as long as there is no sensitive information written)

from hfs2.

rejetto avatar rejetto commented on July 26, 2024

Ok, I had some spare time and worked on the hfs3's slowness problem.
Fixed and published new version (0.26.5)

Made a final test searching a name in an archive of 32000 files, resulting in 3100 entries.
hfs 2.4rc7 took 8.6s
hfs 3 (0.26.5) took 0.7s 🥇

deal? :D

p.s.
both times are so low because benchmarks ran several times and the OS has cached directories, but the important thing is that both are done in the same conditions

from hfs2.

VegethB avatar VegethB commented on July 26, 2024

What a nice new year surprise... I have one too 😭😂...

here > rejetto/hfs#84

Anyway, thanks again 👍

from hfs2.

VegethB avatar VegethB commented on July 26, 2024

Ok, I had some spare time and worked on the hfs3's slowness problem. Fixed and published new version (0.26.5)

Made a final test searching a name in an archive of 32000 files, resulting in 3100 entries. hfs 2.4rc7 took 8.6s hfs 3 (0.26.5) took 0.7s 🥇

deal? :D

p.s. both times are so low because benchmarks ran several times and the OS has cached directories, but the important thing is that both are done in the same conditions

Ok, aggiornato a hfs3 0.26.7... Ottimo!
Una velocità più che soddisfacente, grazie e buon anno nuovo!

Ok, updated to hfs3 0.26.7... Great!
A more than satisfactory speed, thank you and happy new year!

from hfs2.

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.