Comments (6)
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.
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.
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.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on September 19, 2009 16:25:26
nautilus browses normally.
from mutagen.
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.
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)
- Write into FLAC files via cli HOT 1
- File objects with no tags cast to boolean as false
- wav file bps incorrectly identified as absurdly high value HOT 3
- Unclear what the build system is HOT 5
- Mutagen updates ID3v1 tags but does not save ID3v2 tags HOT 4
- MP4.save() makes phone videos unreadable (Invalid NAL unit size)
- Having problems figuring out how to write to ID3 tags for MP3's HOT 2
- Updating APIC tag leads to empty cover art on Spotify's local files
- Performance on NFS-mounted files much helped by specifying buffering
- mutagen-inspect shows tag data but mid3cp shows HOT 4
- OGG Vorbis file save fails: mutagen.ogg.error: unable to read full header; got b'\x00\x00' HOT 3
- Can't open wav ripped from DVD audio: Invalid Chunk - ordinal not in range(128) HOT 6
- OGG Vorbis: wrong (playback) duration / length reported on opus audio HOT 1
- "Universal" audio metadata class HOT 3
- Extensible wave format support HOT 2
- FLAC objects that compare equal do not have the same hash value
- mid3v2 not working with .opus files. HOT 4
- Unable to add artwork to `.ogg` [vorbis] file HOT 9
- Add support for Audiobooks (.m4b) tags to EasyMP4
- Help with implementing ID3v3.2 spec in dart
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 mutagen.