File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ builds:
24
24
- amd64
25
25
- arm64
26
26
ldflags :
27
- - -X github.com/ozontech/framer/buildinfo .Version={{.Version}}
27
+ - -X main .Version={{.Version}}
28
28
29
29
archives :
30
30
- format : tar.gz
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ framer is the most performant grpc load generator
3
3
4
4
## Performance
5
5
![ benchmark chart] ( ./assets/benchmark_chart.png )
6
+
7
+ Load generators was limited in 2 CPU.
6
8
Load generators configurations are available in [ benchmarks directory] ( ./benchmarks )
7
9
8
10
### How we achive this performance values?
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
10
10
"github.com/alecthomas/kong"
11
11
mangokong "github.com/alecthomas/mango-kong"
12
- "github.com/ozontech/framer/buildinfo"
13
12
)
14
13
15
14
var CLI struct {
@@ -20,12 +19,14 @@ var CLI struct {
20
19
DebugServer bool `help:"Enable debug server."`
21
20
}
22
21
22
+ var Version = "unknown"
23
+
23
24
type VersionFlag string
24
25
25
26
func (v VersionFlag ) Decode (ctx * kong.DecodeContext ) error { return nil }
26
27
func (v VersionFlag ) IsBool () bool { return true }
27
28
func (v VersionFlag ) BeforeApply (app * kong.Kong , vars kong.Vars ) error {
28
- fmt .Println (buildinfo . Version )
29
+ fmt .Println (Version )
29
30
app .Exit (0 )
30
31
return nil
31
32
}
You can’t perform that action at this time.
0 commit comments