78 lines · 1.6 KB · Text
RawDownload
# Revsets to pass to `jj bench revsets` on the Git repo # Single tagsv1.0.0v2.40.0# Old history::v1.0.0..v1.0.0# More history::v2.40.0..v2.40.0# Only recent historyv2.39.0..v2.40.0::v2.40.0 ~ ::v2.39.0v2.39.0::v2.40.0# Mostly recent historyv2.40.0-..~(::v2.40.0)# Tags and bookmarkstags()bookmarks()# Local changes(tags() | remote_bookmarks())..# Intersection of range with a small subsettags() & ::v2.40.0v2.39.0 & ::v2.40.0# Author and committerauthor(peff)committer(gitster)# Intersection and union of large subsetsauthor(peff) & committer(gitster)author(peff) | committer(gitster)# Intersection of filter with a small subset::v1.0.0 & (author(peff) & committer(gitster))::v1.0.0 & (author(peff) | committer(gitster))# Roots and heads of small subsetsroots(tags())heads(tags())# Roots and heads of large subsetsroots(author(peff))heads(author(peff))# Roots and heads of rangeroots(::v2.40.0)heads(::v2.40.0)# Ancestors and ranges of large subsets::(v1.0.0..v2.40.0)author(peff)..# Parents and ancestors of old commitv1.0.0-v1.0.0---::v1.0.0---# Children and descendants of old commitv1.0.0+v1.0.0+++v1.0.0+++::# Parents and ancestors of recent commitv2.40.0-v2.40.0---::v2.40.0---# Children and descendants of recent commitv2.40.0+v2.40.0+++v2.40.0+++::# Parents and ancestors of small subsettags()-tags()---::tags()---# Children and descendants of small subsettags()+tags()+++tags()+++::# Filter that doesn't read commit objectmerges()~merges()# These are unbearably slow, so only filter within small setfiles(root:"Makefile") & v1.0.0..v1.2.0empty() & v1.0.0..v1.2.0conflicts() & v1.0.0..v1.2.0