Skip to content
Snippets Groups Projects
Commit 5b592ac5 authored by Boris Feld's avatar Boris Feld
Browse files

repoview: use 'phasecache.getrevset' when computing 'unserved' filter

This reuses a precomputed set, being much faster than manual iteration.

Computing the "unserved" filter speed up by 55%.

before: wall 0.014671 comb 0.020000 user 0.020000 sys 0.000000 (best of 180)
after:  wall 0.006623 comb 0.010000 user 0.010000 sys 0.000000 (best of 401)

The "unserved" filter is used to restrict the revisions client can pull from a
server. (eg: secret changesets)
parent 57365707
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment