Get list of folders and files as fast as possible.
Hello,
Using the Java API, I am trying to get as fast as possible the list of items under a given folder. I also need the size and mtime of each file.
As example, I found the class BoxFolderTreeBuilder in https://developer.box.com/guides/folders/bulk/build-folder-tree/
My question: is there another way to do that in order get better speed performance?
For my tests I used a tree of 46 folders/ 198 files.
The BoxFolderTreeBuilder program takes 20 seconds to get the result,
if I add code to also retrieve size and mtime of each file, it takes 1mn40s.
This has to be compared with what I get with some other "cloud fs".
Please sign in to leave a comment.
Comments
1 comment