Code Monkey home page Code Monkey logo

Comments (4)

classic-o avatar classic-o commented on June 18, 2024

Hi. Checked it. My execution time 0.075105905532837 s with 6 levels folders
Check with this code after parse folders: dd(microtime(true) - LARAVEL_START);

How many files do you have?

from nova-media-library.

RomainVandevoorde avatar RomainVandevoorde commented on June 18, 2024

Hey ! Yeah sorry I wasn't specific enough, the folders are not empty. There is a total of 3121 files in there.

I pasted your piece of code at NovaMediaLibrary.php line 51 and the result is pretty much the same: 2.3618609905243
This

        $start = microtime(true);

        if ( 'folders' == $config['store'])
                $config['folders'] = Helper::directories();

        dd(microtime(true) - $start);

Gives the following result: 2.1646671295166

from nova-media-library.

classic-o avatar classic-o commented on June 18, 2024

fixed in 1.0.4

from nova-media-library.

RomainVandevoorde avatar RomainVandevoorde commented on June 18, 2024

It's working great after the update !

Thank you for your reactivity and for this great package ! 💯

from nova-media-library.

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.