Skip to content

Commit

Permalink
feat: add benchstat
Browse files Browse the repository at this point in the history
  • Loading branch information
ifooth committed Nov 8, 2024
1 parent 7629333 commit 44d39d1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ linters-settings:
rules:
- name: line-length-limit
arguments:
- 120
- 160
- name: function-length
arguments:
- 80 # statements
Expand Down
2 changes: 1 addition & 1 deletion install-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ mv bin/protoc /opt/go/bin/ && /opt/go/bin/protoc --version
mv include /opt/go/

# Install python uv
export UV_VERSION=0.4.28
export UV_VERSION=0.4.30
wget -q https://github.com/astral-sh/uv/releases/download/${UV_VERSION}/uv-x86_64-unknown-linux-gnu.tar.gz
tar -xf uv-x86_64-unknown-linux-gnu.tar.gz
mv uv-x86_64-unknown-linux-gnu/* /usr/local/bin
Expand Down
1 change: 1 addition & 0 deletions install-virtualenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected]

# my dev
go install golang.org/x/perf/cmd/benchstat@latest
go install github.com/ifooth/devcontainer/cmd/[email protected]
go install github.com/ifooth/devcontainer/cmd/[email protected]

Expand Down
2 changes: 1 addition & 1 deletion root/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ linters-settings:
rules:
- name: line-length-limit
arguments:
- 120
- 160
- name: function-length
arguments:
- 80 # statements
Expand Down

0 comments on commit 44d39d1

Please sign in to comment.