|
Created on 2009-08-28.16:33:04 by kowey, last changed 2009-10-23.23:35:04 by admin.
msg8575 (view) |
Author: kowey |
Date: 2009-08-28.16:32:58 |
|
From Simon Marlow on
http://lists.osuosl.org/pipermail/darcs-users/2009-August/021058.html
:
$ darcs show repo
Type: darcs
Format: hashed
Root: d:/builds/ghc-testing
Pristine: HashedPristine
Cache: thisrepo:d:/builds/ghc-testing, cache:C:\Documents and
Settings\simonmar\Application Data\darcs\cache
boringfile Pref: .darcs-boring
Default Remote: x:/ghc-HEAD
Num Patches: 21106
$ time darcs w -s
No changes!
real 0m3.126s
user 0m0.000s
sys 0m0.015s
$ darcs --version
2.3.0 (release)
Compared to Linux, where the time is ~0.25s. These are all local
filesystems.
-----------
So we've eliminated issue973 and we're using local drives only and we have
Petr's issue1202 patches. So what's a reasonable way to attack this?
Why are we fast on Linux and slow on Windows?
I guess we can start with profiling.
Simon: what happens when you run whatsnew a second time? Could it be some need
to build the index first and then use it later?
|
msg8872 (view) |
Author: simonmar |
Date: 2009-09-25.11:39:55 |
|
Something has happened since my previous report. On the very same repository,
but with a freshly compiled darcs 2.3.1:
$ time darcs w -s
No changes!
real 0m13.312s
user 0m0.000s
sys 0m0.031s
$ time darcs w -s
No changes!
real 0m1.328s
user 0m0.000s
sys 0m0.000s
$ time darcs w -s
No changes!
real 0m0.813s
user 0m0.000s
sys 0m0.031s
$ time darcs w -s
No changes!
real 0m0.859s
user 0m0.015s
sys 0m0.000s
Less than one second is entirely reasonable, even if it is still a factor of 3
or so slower than Linux. Might as well close this ticket, I think.
|
msg8890 (view) |
Author: kowey |
Date: 2009-09-30.21:19:48 |
|
I'll mark this presumed-dead (for lack of understanding on our part what
changed), but if Petr you had some sort of explanation for why the
hashed-storage in 2.3.1 (or whatever) changes things, I'd be happier...
|
msg8894 (view) |
Author: kirby |
Date: 2009-10-01.09:56:15 |
|
I guess that the difference is the version of hashed-storage "forced"
by cabal. 2.3.1 forces the most recent one, that may have
optimizations.
Salvatore
|
|
Date |
User |
Action |
Args |
2009-08-28 16:33:04 | kowey | create | |
2009-08-28 16:33:16 | kowey | set | nosy:
kowey, darcs-devel, simonmar, dmitry.kurochkin, mornfall title: hashed repo whatsnew much slower on Windows and Linux -> hashed repo whatsnew much slower on Windows than on Linux |
2009-09-25 11:39:58 | simonmar | set | nosy:
kowey, darcs-devel, simonmar, dmitry.kurochkin, mornfall messages:
+ msg8872 |
2009-09-30 21:19:56 | kowey | set | status: needs-reproduction -> given-up nosy:
+ wglozer, eivuokko, kirby, jaredj topic:
+ Windows messages:
+ msg8890 |
2009-10-01 09:56:17 | kirby | set | nosy:
+ marlowsd messages:
+ msg8894 |
2009-10-23 22:36:39 | admin | set | nosy:
- simonmar |
2009-10-23 23:35:04 | admin | set | nosy:
+ simonmar, - marlowsd |
|