Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ z-scratch/
.scratch/

# Binary files
cmd/benchmark/benchmark
examples/storage/storage

# Gorums generated backup files
Expand Down
6 changes: 0 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ gorums/
├── cmd/protoc-gen-gorums/ # Compiler plugin for code generation
│ ├── dev/ # Static code + generated code examples
│ └── gengorums/ # Compiler logic + templates
├── benchmark/ # Benchmarking code
├── examples/ # Example implementations
├── internal/ # Internal packages
├── doc/ # Documentation
Expand Down Expand Up @@ -152,9 +151,6 @@ make -B
# Install protoc-gen-gorums plugin
make installgorums

# Build benchmark tool
make benchmark

# Install required tools
make tools
```
Expand Down Expand Up @@ -227,8 +223,6 @@ Before making significant changes, consult:
## Performance Considerations

- Gorums is used in performance-critical distributed systems
- Benchmarking tools are available in `benchmark/` and `cmd/benchmark/`
- See `doc/benchmarking.md` for benchmarking procedures
- Profile before optimizing - use Go's pprof tools

## Communication with Project Maintainer
Expand Down
13 changes: 4 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ proto_path := $(dev_path):third_party:.

plugin_deps := gorums.pb.go $(static_file)
runtime_deps := internal/stream/stream.pb.go internal/stream/stream_grpc.pb.go
benchmark_deps := benchmark/benchmark.pb.go benchmark/benchmark_gorums.pb.go

.PHONY: all dev tools bootstrapgorums installgorums benchmark test compiletests genproto benchtest bench
.PHONY: all dev tools bootstrapgorums installgorums test compiletests genproto benchtest bench

all: dev benchmark compiletests
all: dev compiletests

dev: installgorums $(runtime_deps)
@rm -f $(dev_path)/zorums*.pb.go
Expand All @@ -23,9 +22,6 @@ dev: installgorums $(runtime_deps)
--go_opt=default_api_level=API_OPAQUE \
$(zorums_proto)

benchmark: installgorums $(benchmark_deps)
@go build -o cmd/benchmark/benchmark ./cmd/benchmark

$(static_file): $(static_files)
@cp $(static_file) $(static_file).bak
@protoc-gen-gorums --bundle=$(static_file)
Expand Down Expand Up @@ -104,12 +100,11 @@ stressgen: tools
modernize:
@go run golang.org/x/tools/go/analysis/passes/modernize/cmd/modernize@latest -fix ./...

# Regenerate all Gorums and protobuf generated files across the repo (dev, benchmark, internal/tests, examples).
# Regenerate all Gorums and protobuf generated files across the repo (dev, internal/tests, examples).
# This will force regeneration even though the proto files have not changed.
genproto: installgorums dev
@echo "Regenerating all proto files (dev, benchmark, internal/tests, examples)"
@echo "Regenerating all proto files (dev, internal/tests, examples)"
@$(MAKE) -B -s dev
@$(MAKE) -B -s benchmark
@$(MAKE) -B -s --no-print-directory -C ./internal/tests all
@$(MAKE) -B -s --no-print-directory -C ./examples all

Expand Down
293 changes: 0 additions & 293 deletions benchmark/benchmark.go

This file was deleted.

Loading
Loading