git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / Atom feed
9a4e3356597475bc5b7c928ad904fad16799d9b0 blob 1089 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
 
#!/bin/sh

test_description="git-grep performance in various modes"

. ./perf-lib.sh

test_perf_large_repo
test_checkout_worktree

test_perf 'grep worktree, fixed regex (no match)' '
	git grep some_nonexistent_string || :
'
test_perf 'grep worktree, fixed regex (common)' '
	git grep void || :
'
test_perf 'grep -I, fixed non binary regex (common)' '
	git grep -i void || :
'
test_perf 'grep -i, fixed caseless regex (common)' '
	git grep -i void || :
'
test_perf 'grep --no-index, fixed regex (common)' '
	git grep --no-index void || :
'
test_perf 'grep worktree, simple regex (common)' '
	git grep "void|int" || :
'
test_perf 'grep -I, simple non binary regex (common)' '
	git grep -I "void|int" || :
'
test_perf 'grep -i, simple caseless regex (common)' '
	git grep -i "void|int" || :
'
test_perf 'grep worktree, expensive regex' '
	git grep "^.* *some_nonexistent_string$" || :
'
test_perf 'grep --cached, fixed regex' '
	git grep --cached some_nonexistent_string || :
'
test_perf 'grep --cached, expensive regex' '
	git grep --cached "^.* *some_nonexistent_string$" || :
'

test_done
debug log:

solving 9a4e335659 ...
found 9a4e335659 in https://public-inbox.org/git/20190804211509.39229-2-carenas@gmail.com/
found 9f4ade639f in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100755 9f4ade639f74604e05fb42d236caf0ad621c3f7a	t/perf/p7810-grep.sh

applying [1/1] https://public-inbox.org/git/20190804211509.39229-2-carenas@gmail.com/
diff --git a/t/perf/p7810-grep.sh b/t/perf/p7810-grep.sh
index 9f4ade639f..9a4e335659 100755

Checking patch t/perf/p7810-grep.sh...
Applied patch t/perf/p7810-grep.sh cleanly.

index at:
100755 9a4e3356597475bc5b7c928ad904fad16799d9b0	t/perf/p7810-grep.sh

git@vger.kernel.org list mirror (unofficial, one of many)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 git git/ https://public-inbox.org/git \
		git@vger.kernel.org
	public-inbox-index git

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.io/gmane.comp.version-control.git
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for the project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git