##// END OF EJS Templates
smartset: use native set operations as fast paths...
smartset: use native set operations as fast paths For set operations like "&" and "-", where we know both basesets have their sets ready, and the first set is sorted, use the native Python set operations as a fast path. Note: "+" is not optimized as that will break the ordering. This leads to noticeable improvements on performance: revset | before | after | delta ---------------------------------------------------------------- draft() & draft() & draft() & draft() | 776 | 477 | -39% draft() + draft() + draft() + draft() | 2849 | 2864 | draft() - draft() + draft() - draft() | 943 | 240 | -75% draft() - draft() - draft() - draft() | 557 | 197 | -64% (time measured in microseconds)

File last commit:

r29995:57830bd0 default
r31020:2d1bf840 default
Show More
test-filecache.py.out
63 lines | 1.1 KiB | text/plain | TextLexer
/ tests / test-filecache.py.out
Idan Kamara
scmutil: introduce filecache...
r14928 basic:
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * neither file exists
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * neither file still exists
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * empty file x created
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * file x changed size
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * nothing changed with either file
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * file x changed inode
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * empty file y created
creating
* file y changed size
creating
* file y changed inode
creating
* both files changed inode
creating
Idan Kamara
scmutil: introduce filecache...
r14928
fakeuncacheable:
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * neither file exists
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * neither file still exists
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * empty file x created
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * file x changed size
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * nothing changed with either file
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * file x changed inode
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * empty file y created
creating
* file y changed size
creating
* file y changed inode
creating
* both files changed inode
creating
Idan Kamara
destroyed: keep the filecache in sync with __dict__ (issue3335) (issue3693) (issue3743)...
r18313 repository tip rolled back to revision -1 (undo commit)
working directory now based on revision -1
repository tip rolled back to revision -1 (undo commit)
working directory now based on revision -1
Idan Kamara
filecache: create an entry in _filecache when __set__ is called for a missing one...
r18316
setbeforeget:
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * neither file exists
Siddharth Agarwal
test-filecache.py: make setbeforeget test clearer...
r20040 string set externally
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * file x created
Idan Kamara
filecache: create an entry in _filecache when __set__ is called for a missing one...
r18316 creating
Siddharth Agarwal
test-filecache.py: make setbeforeget test clearer...
r20040 string from function
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * string set externally again
string 2 set externally
* file y created
creating
string from function
FUJIWARA Katsunori
scmutil: add file object wrapper class to check ambiguity at closing...
r29995
antiambiguity: