Skip to content

Commit ae5fa72

Browse files
committed
Remove profile tooling
Drop the profile Makefile target, the marina_profile test module, the fprofx test dep and a stale README reference to a bench target that no longer exists.
1 parent 2d06b30 commit ae5fa72

4 files changed

Lines changed: 1 addition & 108 deletions

File tree

Makefile

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
CACHEGRIND=qcachegrind
21
REBAR3=$(shell which rebar3)
32
ifeq ($(REBAR3),)
43
REBAR3=./bin/rebar3
@@ -22,21 +21,10 @@ eunit:
2221
@echo "Running rebar3 eunit..."
2322
@$(REBAR3) do eunit -cv, cover -v
2423

25-
profile:
26-
@echo "Profiling..."
27-
@$(REBAR3) as test compile
28-
@erl -noshell \
29-
-pa _build/test/lib/*/ebin \
30-
-pa _build/test/lib/*/test \
31-
-eval 'marina_profile:fprofx()' \
32-
-eval 'init:stop()'
33-
@_build/test/lib/fprofx/erlgrindx -p fprofx.analysis
34-
@$(CACHEGRIND) fprofx.cgrind
35-
3624
test: xref eunit dialyzer
3725

3826
xref:
3927
@echo "Running rebar3 xref..."
4028
@$(REBAR3) xref
4129

42-
.PHONY: clean compile dialyzer eunit profile test xref
30+
.PHONY: clean compile dialyzer eunit test xref

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ make xref # cross-reference analysis
152152
make dialyzer # success typing
153153
make eunit # unit + integration tests (expects ScyllaDB at 172.18.0.2:9042)
154154
make test # xref + eunit + dialyzer
155-
make bench # ring-lookup micro-benchmark
156155
```
157156

158157
The bundled `Dockerfile` produces the CI image (`lpgauth/erlang-scylla:28.3.1-6.2.3-amd64`) by layering OTP 28.3.1 (from the official `erlang` image) on top of `scylladb/scylla:6.2.3`. For local integration tests, run that image or a plain ScyllaDB container on `172.18.0.2:9042`.

rebar.config

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{cover_export_enabled, true}.
22
{cover_excl_mods, [
3-
marina_profile,
43
marina_tests
54
]}.
65

@@ -43,12 +42,6 @@
4342
warn_unused_import,
4443
warn_unused_vars
4544
]}
46-
]},
47-
{test, [
48-
{deps, [
49-
{fprofx,
50-
{git, "https://github.com/lpgauth/fprofx.git", {branch, "otp_19"}}}
51-
]}
5245
]}
5346
]}.
5447

test/marina_profile.erl

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)