[ruby-core:82166] Re: [Ruby trunk Bug#13167] Dir.glob is 25x slower since Ruby 2.2

From: Eric Wong <normalperson@...>
Date: 2017-07-25 16:24:09 UTC
List: ruby-core #82166
pdahorek@seznam.cz wrote:
> Issue #13167 has been updated by ahorek (Pavel Rosick箪).
> 
> 
> https://github.com/ruby/ruby/pull/1669
> 
> ~~~
> 2.1.9        1143000 i/s
> 2.4.1          39829 i/s
> 2.5.0          40730 i/s
> 2.5.0 + patch 936338 i/s
> ~~~

Thanks.

> this patch is probably wrong, but it's a good place to start
> 
> @normalperson - could you take a look?

This is @nobu's job, since he made the original change
and knows far more about case-insensitive FSes than I do.


I think the performance on Linux is a separate problem.
The 766827 i/s you got on Ubuntu is still worse than Win32;
so I think that could be improved, possibly on all platforms.

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next