Skip to content

Commit

Permalink
Merge pull request #109 from maticnetwork/jhilliard/leveldb-bench
Browse files Browse the repository at this point in the history
Level DB Benchmark Tool and Call Only Mode
  • Loading branch information
praetoriansentry authored Jul 24, 2023
2 parents 5aaf3e9 + 9e4fdd5 commit 067ac04
Show file tree
Hide file tree
Showing 31 changed files with 2,446 additions and 1,738 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ generate: ## Generate protobuf stubs.

.PHONY: build
build: $(BUILD_DIR) ## Build go binary.
go build -ldflags "-s -w -X \"github.com/maticnetwork/polygon-cli/cmd/version.Version=dev ($(GIT_SHA))\"" -o $(BUILD_DIR)/$(BIN_NAME) main.go
go build -ldflags "-w -X \"github.com/maticnetwork/polygon-cli/cmd/version.Version=dev ($(GIT_SHA))\"" -o $(BUILD_DIR)/$(BIN_NAME) main.go

.PHONY: install
install: build ## Install the go binary.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ Note: Do not modify this section! It is auto-generated by `cobra` using `make ge

- [polycli hash](doc/polycli_hash.md) - Provide common crypto hashing functions.

- [polycli leveldbbench](doc/polycli_leveldbbench.md) - Perform a level db benchmark

- [polycli loadtest](doc/polycli_loadtest.md) - Run a generic load test against an Eth/EVM style JSON-RPC endpoint.

- [polycli metrics-to-dash](doc/polycli_metrics-to-dash.md) - Create a dashboard from an Openmetrics / Prometheus response.
Expand Down
16 changes: 0 additions & 16 deletions cmd/dumpblocks/dumpblocks.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
Copyright © 2022 Polygon <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package dumpblocks

import (
Expand Down
16 changes: 0 additions & 16 deletions cmd/forge/forge.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
Copyright © 2022 Polygon <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package forge

import (
Expand Down
16 changes: 0 additions & 16 deletions cmd/hash/hash.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
Copyright © 2022 Polygon <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package hash

import (
Expand Down
Loading

0 comments on commit 067ac04

Please sign in to comment.