This website works better with JavaScript.
Home
Help
Sign In
chiefnoah
/
the_silver_searcher
mirror of
https://github.com/ggreer/the_silver_searcher.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
49
Wiki
Activity
Browse Source
Add script for performance-guided optimization. Ignore pgo files.
Thanks to
@gwern
&
@FeepingCreature
for showing this to me.
pull/1058/head
Geoff Greer
4 years ago
parent
8639866dcc
commit
ee56182f61
2 changed files
with
13 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
.gitignore
+12
-0
pgo.sh
+ 1
- 0
.gitignore
View File
@ -1,4 +1,5 @@
*.dSYM
*.gcda
*.o
*.plist
.deps
+ 12
- 0
pgo.sh
View File
@ -0,0 +1,12 @@
#!/bin/sh
set
-e
cd
"
$(
dirname
"
$0
"
)
"
make clean
CFLAGS
=
"
$CFLAGS
-fprofile-generate
"
./build.sh
./ag example ..
make clean
CFLAGS
=
"
$CFLAGS
-fprofile-use
"
./build.sh
Write
Preview
Loading…
Cancel
Save