Comments (8)
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.
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.
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.
the time difference is frankly strange.
I suspect there may be some strange folders like "recycle bin" that hfs3 is searching too.
from hfs2.
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.
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.
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.
What a nice new year surprise... I have one too 😭😂...
here > rejetto/hfs#84
Anyway, thanks again 👍
from hfs2.
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)
- 2.4 RC7 issue HOT 2
- Duplicated file upload HOT 1
- HFS.Libraries is not found. HOT 4
- 2.4rc7 can't login in if set password.
- Sometimes the service does not respond. HOT 3
- could add a wiki for how the struct of vfs file works? HOT 9
- High concurrency HOT 2
- On the next generation network protocol HOT 1
- How to setup browsable to users only and file downlodable to everyone? HOT 3
- how to setup domain? HOT 9
- Bug# - When I use cloudflare proxy, user can't login HOT 2
- BUG [v2.4-rc07]: Trying to archive 1 or more items into a TAR file fails.
- Is Uploading files completely gone from this version? HOT 1
- 在同一个文件夹,但还是无法翻译为什么呀 HOT 1
- Bug/Feature request ? - The search shows results from folders with restricted access to users who are not part of who can access those folders HOT 1
- ♻️ scriptLib.pas - macrosLog, | Suggestions for Improvements and Optimization HOT 1
- Anyone compiled it on Free Pascal? HOT 2
- HFS2 triggering a lot of false positives on VirusTotal HOT 8
- HFS 2 Deleted itself? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hfs2.