Skip to content

Commit 6acbf1c

Browse files
author
Karthi Thyagarajan
committed
Further clean up tree
1 parent 7b6e244 commit 6acbf1c

File tree

1 file changed

+18
-25
lines changed
  • spanner-tools/spanner_direct_access_test

1 file changed

+18
-25
lines changed

spanner-tools/spanner_direct_access_test/README.md

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -68,31 +68,24 @@ Also see [schema.sql](schema.sql).
6868

6969
The Java code in this repository is intentionally small and organized around a few focused classes:
7070

71-
`src/main/java/com/spanner/benchmark/`
72-
├── [Main.java](src/main/java/com/spanner/benchmark/Main.java)
73-
│ CLI entry point that loads configuration, creates the Spanner client, and dispatches to `populate` or `benchmark`
74-
├── `benchmark/`
75-
│ └── [BenchmarkCommand.java](src/main/java/com/spanner/benchmark/benchmark/BenchmarkCommand.java)
76-
│ Benchmark runner that loads sample keys, executes the configured scenarios, and reports latency, row-count, throughput, and concurrency-sweep results
77-
├── `config/`
78-
│ ├── [AppConfig.java](src/main/java/com/spanner/benchmark/config/AppConfig.java)
79-
│ │ Typed application configuration loaded from `.env` and environment variables
80-
│ └── [EnvFileLoader.java](src/main/java/com/spanner/benchmark/config/EnvFileLoader.java)
81-
│ Minimal `.env` parser used by `AppConfig`
82-
├── `model/`
83-
│ ├── [CustomerInsightKey.java](src/main/java/com/spanner/benchmark/model/CustomerInsightKey.java)
84-
│ │ Key model for point reads and exact-key SQL against `customer_insights`
85-
│ └── [CustomerInsightPhoneKey.java](src/main/java/com/spanner/benchmark/model/CustomerInsightPhoneKey.java)
86-
│ Key model for point reads and exact-key SQL against `customer_insights_phone`
87-
├── `populate/`
88-
│ └── [PopulateCommand.java](src/main/java/com/spanner/benchmark/populate/PopulateCommand.java)
89-
│ Synthetic data loader that generates benchmark rows and writes them into both `customer_insights` and `customer_insights_phone`
90-
├── `spanner/`
91-
│ └── [SpannerClientFactory.java](src/main/java/com/spanner/benchmark/spanner/SpannerClientFactory.java)
92-
│ Central place for building the Spanner client with project, endpoint, emulator, and direct-access settings
93-
└── `util/`
94-
└── [CliArguments.java](src/main/java/com/spanner/benchmark/util/CliArguments.java)
95-
Small command-line option parser for `--flag value` style arguments
71+
Source root: `src/main/java/com/spanner/benchmark/`
72+
73+
- Root
74+
[Main.java](src/main/java/com/spanner/benchmark/Main.java): CLI entry point that loads configuration, creates the Spanner client, and dispatches to `populate` or `benchmark`
75+
- `benchmark/`
76+
[BenchmarkCommand.java](src/main/java/com/spanner/benchmark/benchmark/BenchmarkCommand.java): benchmark runner that loads sample keys, executes the configured scenarios, and reports latency, row-count, throughput, and concurrency-sweep results
77+
- `config/`
78+
[AppConfig.java](src/main/java/com/spanner/benchmark/config/AppConfig.java): typed application configuration loaded from `.env` and environment variables
79+
[EnvFileLoader.java](src/main/java/com/spanner/benchmark/config/EnvFileLoader.java): minimal `.env` parser used by `AppConfig`
80+
- `model/`
81+
[CustomerInsightKey.java](src/main/java/com/spanner/benchmark/model/CustomerInsightKey.java): key model for point reads and exact-key SQL against `customer_insights`
82+
[CustomerInsightPhoneKey.java](src/main/java/com/spanner/benchmark/model/CustomerInsightPhoneKey.java): key model for point reads and exact-key SQL against `customer_insights_phone`
83+
- `populate/`
84+
[PopulateCommand.java](src/main/java/com/spanner/benchmark/populate/PopulateCommand.java): synthetic data loader that generates benchmark rows and writes them into both `customer_insights` and `customer_insights_phone`
85+
- `spanner/`
86+
[SpannerClientFactory.java](src/main/java/com/spanner/benchmark/spanner/SpannerClientFactory.java): central place for building the Spanner client with project, endpoint, emulator, and direct-access settings
87+
- `util/`
88+
[CliArguments.java](src/main/java/com/spanner/benchmark/util/CliArguments.java): small command-line option parser for `--flag value` style arguments
9689

9790
At a high level, execution flows like this:
9891

0 commit comments

Comments
 (0)