Git Product home page Git Product logo

Comments (6)

lazka avatar lazka commented on May 24, 2024

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


From [email protected] on September 27, 2009 21:29:40

Nautilus only needs to look at one file, the directory, to get the list of things in
it. Mutagen (and file) both need to look at the actual contents, which obviously will
take more time. If Mutagen is on par with file, then I don't think there's an issue here.

Status: Invalid

from mutagen.

lazka avatar lazka commented on May 24, 2024

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


From [email protected] on September 22, 2009 06:47:33

ok i've noticed some strange hard-to-reproduce behavior, which seems to be connected
to some kind of cacheing. i wrote this one-liner to give me a quantifiable number on
how long it both file and mutagen-inspect to run;

so on a local folder:

> T_START=`date +%s`; mutagen-inspect *.mp3 >> /dev/null; T_STOP=`date +%s`; echo $((
T_STOP - T_START ))
0
> T_START=`date +%s`; mutagen-inspect *.mp3 >> /dev/null; T_STOP=`date +%s`; echo $((
T_STOP - T_START ))
0

and this is repeatable (always <1s). if i run it on a nfs folder:



> T_START=`date +%s`; mutagen-inspect *.mp3 >> /dev/null; T_STOP=`date +%s`; echo $((
T_STOP - T_START ))
18
> T_START=`date +%s`; file *.mp3 >> /dev/null; T_STOP=`date +%s`; echo $(( T_STOP -
T_START ))
1
> T_START=`date +%s`; mutagen-inspect *.mp3 >> /dev/null; T_STOP=`date +%s`; echo $((
T_STOP - T_START ))
0

[cd to a different folder]

T_START=`date +%s`; file *.mp3 >> /dev/null; T_STOP=`date +%s`; echo $(( T_STOP -
T_START ))
16


mutagen-inspect somtimes takes long times (10-40s) to finish. but once its done i can
re-list it in <=1s. also, some directories take <=1s to list their first time. i
havent been able to determine why.  file *.mp3 exhibits the same behavior, so i
conclude that its the nfs share, and not mutagen.

from mutagen.

lazka avatar lazka commented on May 24, 2024

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


From [email protected] on September 21, 2009 00:58:02

Can you compare, e.g. "file *.mp3" vs. "mutagen-inspect *.mp3" on a group of files,
on NFS and off NFS? Please run it twice to account for caching.

from mutagen.

lazka avatar lazka commented on May 24, 2024

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


From [email protected] on September 19, 2009 16:25:26

nautilus browses normally.

from mutagen.

lazka avatar lazka commented on May 24, 2024

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


From [email protected] on September 19, 2009 15:05:09

Summary: Performance: NFS shares are slow to list tags

from mutagen.

lazka avatar lazka commented on May 24, 2024

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


From [email protected] on September 19, 2009 14:59:36

What's an example of an application that browses it quickly?

from mutagen.

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.