Re: Possible speed enhancement
- From: "Milosz Derezynski" <internalerror gmail com>
- To: "Alexander Larsson" <alexl redhat com>
- Cc: john bester attix5 com, nautilus-list gnome org, Xavier Bestel <xavier bestel free fr>
- Subject: Re: Possible speed enhancement
- Date: Thu, 2 Oct 2008 00:26:23 +0200
I just would like to add that the argument "Nautilus/FileChooser
wasn't design for X/Y/Z" is a really bad one, just by principle.
FileChooser and Nautilus take around 4-5 Seconds to display my
"Pictures" folder which contains *only* around 150 pictures. Clearly
this is annoying (on a SATA-2 500GB drive, 2GB RAM, 2x Athlon 64 X2
4400+ CPU, running GNOME). An implementation should always aim to be
as fast as possible, hiding behind intentions only means to be lazy.
On the other hand if you'd say you don't want to spend time optimizing
this it'd be ok but just saying it wasn't made for this and that
sounds like an elusion.
Yes i know if i'm so fond of that then why don't i fix it.. well
Nautilus hacking is indeed something i'm currently doing (*offtopic*
my Emblem view grid alignment patch is still waiting for a
comment...).
2008/9/24 Alexander Larsson <alexl redhat com>:
> On Wed, 2008-09-24 at 11:01 +0200, Xavier Bestel wrote:
>> > De: Alexander Larsson <alexl redhat com>
>> > On Tue, 2008-09-23 at 15:20 +0200, John Bester wrote:
>> >
>> > > Nautilus takes about 8 seconds to load up /usr/lib on my current PC
>> > > (about 2,300 files). KDE/dolphin takes about 2 seconds.
>> >
>> > This again... The reason things like /usr/bin and /usr/lib are slow are
>> > that these are large directories where almost no files have an
>> > extension. This means we have to sniff the file type by reading the
>> > first bit of all files. Reading lots of files is inherently slow due to
>> > the mechanical motion required for seeks on a harddrive.
>> >
>> > That some other apps choose not to sniff such files makes them faster
>> > for /usr/lib and /usr/bin, but they miss showing file types on some
>> > files. This is a design decision for nautilus, which is not mainly
>> > designed to read /usr/bin, but rather to manage users normal files
>> > (which generally have extensions).
>>
>> Maybe the x bit should count as a '.exe' extension (sort of) ?
>
> Doesn't work. For instance, all files on a fat partition get the x bit
> set.
>
>
> --
> nautilus-list mailing list
> nautilus-list gnome org
> http://mail.gnome.org/mailman/listinfo/nautilus-list
>
--
Please note that according to the German law on data retention,
information on every electronic information exchange with me is
retained for a period of six months.
[Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]