Skip to content

Commit 586e16d

Browse files
committed
Run full BenchmarkDotNet suite in validation
1 parent f39673e commit 586e16d

9 files changed

Lines changed: 142 additions & 100 deletions

File tree

.github/workflows/benchmarks.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
benchmark:
1313
name: BenchmarkDotNet full suite
1414
runs-on: ubuntu-latest
15-
timeout-minutes: 45
15+
timeout-minutes: 120
1616
permissions:
1717
contents: read
1818

@@ -45,6 +45,12 @@ jobs:
4545
- name: Run Tiktoken search benchmarks
4646
run: dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*TiktokenSearchBenchmarks*"
4747

48+
- name: Run graph persistence benchmarks
49+
run: dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphPersistenceBenchmarks*"
50+
51+
- name: Run graph lifecycle benchmarks
52+
run: dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphLifecycleBenchmarks*"
53+
4854
- name: Upload benchmark artifacts
4955
uses: actions/upload-artifact@v7
5056
with:

.github/workflows/validation.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ env:
1212

1313
jobs:
1414
validate:
15-
name: Build, test, and pack
15+
name: Build, test, benchmark, and pack
1616
runs-on: ubuntu-latest
17-
timeout-minutes: 15
17+
timeout-minutes: 120
1818
permissions:
1919
contents: read
2020

@@ -41,9 +41,24 @@ jobs:
4141
- name: Test with coverage
4242
run: dotnet test --solution MarkdownLd.Kb.slnx --configuration Release --verbosity normal -- --coverage --coverage-output-format cobertura --coverage-output "${{ github.workspace }}/TestResults/TUnitCoverage/coverage.cobertura.xml" --coverage-settings "${{ github.workspace }}/CodeCoverage.runsettings"
4343

44-
- name: Benchmark smoke
44+
- name: Run fuzzy edit-distance benchmarks
4545
run: dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*FuzzyEditDistanceBenchmarks*"
4646

47+
- name: Run graph build benchmarks
48+
run: dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphBuildBenchmarks*"
49+
50+
- name: Run graph search benchmarks
51+
run: dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphSearchBenchmarks*"
52+
53+
- name: Run Tiktoken search benchmarks
54+
run: dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*TiktokenSearchBenchmarks*"
55+
56+
- name: Run graph persistence benchmarks
57+
run: dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphPersistenceBenchmarks*"
58+
59+
- name: Run graph lifecycle benchmarks
60+
run: dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphLifecycleBenchmarks*"
61+
4762
- name: Pack
4863
run: dotnet pack MarkdownLd.Kb.slnx --configuration Release -p:IncludeSymbols=false -p:SymbolPackageFormat=snupkg --output ./artifacts
4964

@@ -57,7 +72,7 @@ jobs:
5772
- name: Upload benchmark artifact
5873
uses: actions/upload-artifact@v7
5974
with:
60-
name: benchmark-smoke
75+
name: benchmarkdotnet-results
6176
path: artifacts/benchmarks/results
6277
if-no-files-found: error
6378
retention-days: 5

README.md

Lines changed: 53 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ The most important split is local graph search versus federated graph search. `S
127127
## Install
128128

129129
```bash
130-
dotnet add package ManagedCode.MarkdownLd.Kb --version 0.2.1
130+
dotnet add package ManagedCode.MarkdownLd.Kb --version 0.2.5
131131
```
132132

133133
For local repository development:
@@ -1313,11 +1313,11 @@ dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter
13131313
dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphSearchBenchmarks*"
13141314
dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*TiktokenSearchBenchmarks*"
13151315
dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphPersistenceBenchmarks*"
1316-
dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphLifecycleSmokeBenchmarks*" --job Dry
1316+
dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphLifecycleBenchmarks*"
13171317
MARKDOWN_LD_KB_BENCHMARK_PROFILE=cpu dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*FuzzyEditDistanceBenchmarks*"
13181318
```
13191319

1320-
Benchmark reports are written to `artifacts/benchmarks/results` as Markdown, CSV, and full JSON. The reports are intentionally ignored by git because they depend on the local machine and current system load. PR validation runs `FuzzyEditDistanceBenchmarks` as a mandatory smoke benchmark and uploads the reports as the `benchmark-smoke` artifact. The full benchmark workflow in `.github/workflows/benchmarks.yml` runs manually or on the weekly schedule and uploads the complete `benchmarkdotnet-results` artifact. The benchmark config adds one default `ShortRun` job only when the command does not already pass `--job`, `--job=...`, or `-j`.
1320+
Benchmark reports are written to `artifacts/benchmarks/results` as Markdown, CSV, and full JSON. The reports are intentionally ignored by git because they depend on the local machine and current system load. PR validation and the dedicated workflow in `.github/workflows/benchmarks.yml` both run the complete BenchmarkDotNet suite and upload the `benchmarkdotnet-results` artifact. The benchmark config adds one `Default` job only when the command does not already pass `--job`, `--job=...`, or `-j`.
13211321

13221322
The exported BenchmarkDotNet reports include the diagnostic columns that matter for this library:
13231323

@@ -1343,82 +1343,92 @@ Latest local benchmark run, executed on May 3, 2026 with BenchmarkDotNet 0.15.8,
13431343

13441344
| Suite | Job | Benchmarks executed | Export prefix |
13451345
| --- | --- | ---: | --- |
1346-
| Fuzzy edit distance | ShortRun | 8 | `ManagedCode.MarkdownLd.Kb.Benchmarks.FuzzyEditDistanceBenchmarks-report` |
1347-
| Graph build | ShortRun | 4 | `ManagedCode.MarkdownLd.Kb.Benchmarks.GraphBuildBenchmarks-report` |
1348-
| Graph search | ShortRun | 54 | `ManagedCode.MarkdownLd.Kb.Benchmarks.GraphSearchBenchmarks-report` |
1349-
| Tiktoken search | ShortRun | 12 | `ManagedCode.MarkdownLd.Kb.Benchmarks.TiktokenSearchBenchmarks-report` |
1350-
| Graph persistence | ShortRun | 39 | `ManagedCode.MarkdownLd.Kb.Benchmarks.GraphPersistenceBenchmarks-report` |
1351-
| Graph lifecycle smoke | Dry | 1 | `ManagedCode.MarkdownLd.Kb.Benchmarks.GraphLifecycleSmokeBenchmarks-report` |
1346+
| Fuzzy edit distance | Default | 8 | `ManagedCode.MarkdownLd.Kb.Benchmarks.FuzzyEditDistanceBenchmarks-report` |
1347+
| Graph build | Default | 4 | `ManagedCode.MarkdownLd.Kb.Benchmarks.GraphBuildBenchmarks-report` |
1348+
| Graph search | Default | 54 | `ManagedCode.MarkdownLd.Kb.Benchmarks.GraphSearchBenchmarks-report` |
1349+
| Tiktoken search | Default | 12 | `ManagedCode.MarkdownLd.Kb.Benchmarks.TiktokenSearchBenchmarks-report` |
1350+
| Graph persistence | Default | 39 | `ManagedCode.MarkdownLd.Kb.Benchmarks.GraphPersistenceBenchmarks-report` |
1351+
| Graph lifecycle | Default | 1 | `ManagedCode.MarkdownLd.Kb.Benchmarks.GraphLifecycleBenchmarks-report` |
1352+
1353+
The full local pass executed 118 BenchmarkDotNet cases.
13521354

13531355
Graph build:
13541356

13551357
| Profile | Mean | StdDev | Allocated |
13561358
| --- | ---: | ---: | ---: |
1357-
| `ShortDocuments` | 9.548 ms | 0.0298 ms | 14.70 MB |
1358-
| `LongDocuments` | 7.544 ms | 0.0149 ms | 14.35 MB |
1359-
| `LargeCorpus` | 59.453 ms | 12.7272 ms | 58.08 MB |
1360-
| `TokenizedMultilingual` | 12.433 ms | 0.0508 ms | 17.77 MB |
1359+
| `ShortDocuments` | 9.462 ms | 0.0324 ms | 14.61 MB |
1360+
| `LongDocuments` | 7.509 ms | 0.0127 ms | 14.35 MB |
1361+
| `LargeCorpus` | 45.457 ms | 0.5488 ms | 57.74 MB |
1362+
| `TokenizedMultilingual` | 12.206 ms | 0.2035 ms | 17.77 MB |
13611363

13621364
Graph search exact-query mean time:
13631365

13641366
| Profile | Ranked graph | BM25 | BM25 fuzzy | Focused | Schema SPARQL | Local federated |
13651367
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
1366-
| `ShortDocuments` | 1.198 ms | 1.673 ms | 1.988 ms | 2.016 ms | 48.157 ms | 51.551 ms |
1367-
| `LongDocuments` | 0.449 ms | 1.987 ms | 1.975 ms | 0.638 ms | 12.698 ms | 15.186 ms |
1368-
| `FederatedRunbooks` | 1.327 ms | 2.024 ms | 2.038 ms | 2.255 ms | 41.309 ms | 61.614 ms |
1368+
| `ShortDocuments` | 1.195 ms | 1.659 ms | 1.979 ms | 2.036 ms | 41.078 ms | 39.410 ms |
1369+
| `LongDocuments` | 0.460 ms | 1.989 ms | 1.984 ms | 0.634 ms | 13.007 ms | 14.030 ms |
1370+
| `FederatedRunbooks` | 1.317 ms | 2.022 ms | 2.041 ms | 2.244 ms | 41.528 ms | 44.219 ms |
13691371

13701372
Graph search exact-query allocated memory per operation:
13711373

13721374
| Profile | Ranked graph | BM25 | BM25 fuzzy | Focused | Schema SPARQL | Local federated |
13731375
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
1374-
| `ShortDocuments` | 2.37 MB | 3.07 MB | 3.06 MB | 3.27 MB | 60.47 MB | 62.32 MB |
1375-
| `LongDocuments` | 1.91 MB | 3.46 MB | 3.46 MB | 1.21 MB | 20.26 MB | 22.21 MB |
1376-
| `FederatedRunbooks` | 2.53 MB | 3.53 MB | 3.53 MB | 3.48 MB | 60.75 MB | 62.75 MB |
1376+
| `ShortDocuments` | 2.37 MB | 3.07 MB | 3.07 MB | 3.27 MB | 60.33 MB | 62.31 MB |
1377+
| `LongDocuments` | 1.91 MB | 3.46 MB | 3.46 MB | 1.21 MB | 20.22 MB | 22.22 MB |
1378+
| `FederatedRunbooks` | 2.54 MB | 3.52 MB | 3.52 MB | 3.48 MB | 61.10 MB | 62.65 MB |
13771379

13781380
The `ShortDocuments` exact-query diagnostic slice shows the current hot paths:
13791381

13801382
| Method | Mean | Allocated | Alloc ratio | Gen0 | Gen1 | Gen2 | Work items | Lock contentions |
13811383
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
1382-
| Ranked graph | 1.198 ms | 2.37 MB | 1.00x | 296.8750 | 107.4219 | 0 | 0 | 0 |
1383-
| BM25 | 1.673 ms | 3.07 MB | 1.29x | 384.7656 | 142.5781 | 0 | 0 | 0 |
1384-
| BM25 fuzzy | 1.988 ms | 3.06 MB | 1.29x | 375.0000 | 156.2500 | 0 | 0 | 0 |
1385-
| Focused | 2.016 ms | 3.27 MB | 1.38x | 406.2500 | 179.6875 | 0 | 0 | 0 |
1386-
| Schema SPARQL | 48.157 ms | 60.47 MB | 25.49x | 8400.0000 | 1800.0000 | 400.0000 | 551 | 305.2000 |
1387-
| Local federated | 51.551 ms | 62.32 MB | 26.27x | 8500.0000 | 2000.0000 | 333.3333 | 552 | 314.5000 |
1384+
| Ranked graph | 1.195 ms | 2.37 MB | 1.00x | 296.8750 | 101.5625 | 0 | 0 | 0 |
1385+
| BM25 | 1.659 ms | 3.07 MB | 1.29x | 384.7656 | 142.5781 | 0 | 0 | 0 |
1386+
| BM25 fuzzy | 1.979 ms | 3.07 MB | 1.29x | 375.0000 | 125.0000 | 0 | 0 | 0 |
1387+
| Focused | 2.036 ms | 3.27 MB | 1.38x | 406.2500 | 179.6875 | 0 | 0 | 0 |
1388+
| Schema SPARQL | 41.078 ms | 60.33 MB | 25.43x | 8400.0000 | 1800.0000 | 400.0000 | 551 | 300.6000 |
1389+
| Local federated | 39.410 ms | 62.31 MB | 26.27x | 8600.0000 | 1800.0000 | 400.0000 | 552 | 326.0000 |
13881390

1389-
Allocation and GC columns come directly from BenchmarkDotNet diagnosers. Treat the ratios and relative pressure inside the same run as the useful signal; ShortRun is a fast diagnostic pass, not a release-grade SLA measurement.
1391+
Allocation, GC, work-item, and lock-contention columns come directly from BenchmarkDotNet diagnosers. Treat ratios and relative pressure inside the same run as the useful signal; local numbers are diagnostics, not release-grade SLA measurements.
13901392

13911393
Persistence and export on the `LargeCorpus` profile:
13921394

13931395
| Method | Mean | StdDev | Allocated |
13941396
| --- | ---: | ---: | ---: |
1395-
| `CreateSnapshot` | 4.527 ms | 0.008 ms | 5.31 MB |
1396-
| `SerializeTurtle` | 9.203 ms | 0.088 ms | 18.07 MB |
1397-
| `SerializeJsonLd` | 13.157 ms | 0.086 ms | 20.31 MB |
1398-
| `SaveTurtleToFile` | 29.853 ms | 0.122 ms | 34.74 MB |
1399-
| `SaveJsonLdToFile` | 38.144 ms | 1.436 ms | 37.02 MB |
1400-
| `LoadTurtleFromFile` | 35.983 ms | 0.373 ms | 28.10 MB |
1401-
| `LoadJsonLdFromFile` | 99.980 ms | 2.262 ms | 75.32 MB |
1397+
| `CreateSnapshot` | 4.494 ms | 0.0045 ms | 5.18 MB |
1398+
| `SerializeTurtle` | 9.249 ms | 0.0436 ms | 18.07 MB |
1399+
| `SerializeJsonLd` | 12.371 ms | 0.0586 ms | 20.31 MB |
1400+
| `ExportMermaidFlowchart` | 5.884 ms | 0.0899 ms | 7.15 MB |
1401+
| `ExportDotGraph` | 6.039 ms | 0.0050 ms | 7.55 MB |
1402+
| `SaveTurtleToFile` | 29.641 ms | 0.1868 ms | 34.74 MB |
1403+
| `SaveJsonLdToFile` | 38.491 ms | 1.5349 ms | 37.02 MB |
1404+
| `LoadTurtleFromFile` | 35.708 ms | 0.8051 ms | 28.10 MB |
1405+
| `LoadJsonLdFromFile` | 90.663 ms | 2.9780 ms | 75.32 MB |
1406+
1407+
Broad graph lifecycle:
1408+
1409+
| Method | Mean | StdDev | Allocated | Gen0 | Gen1 | Gen2 | Work items |
1410+
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
1411+
| `BuildSearchSaveLoadAndExport` | 55.35 ms | 3.571 ms | 54.44 MB | 6750.0000 | 2250.0000 | 750.0000 | 52.0000 |
14021412

14031413
Tiktoken token-distance search:
14041414

14051415
| Profile | Query | Exact | Fuzzy-corrected | Exact allocated | Fuzzy allocated |
14061416
| --- | --- | ---: | ---: | ---: | ---: |
1407-
| `LongDocuments` | Exact | 298.1 us | 301.9 us | 212.24 KB | 212.99 KB |
1408-
| `LongDocuments` | Typo | 350.4 us | 393.0 us | 212.88 KB | 216.13 KB |
1409-
| `LongDocuments` | NoMatch | 254.3 us | 257.7 us | 212.19 KB | 213.41 KB |
1410-
| `TokenizedMultilingual` | Exact | 219.4 us | 220.5 us | 139.18 KB | 140.13 KB |
1411-
| `TokenizedMultilingual` | Typo | 246.2 us | 267.8 us | 139.59 KB | 142.02 KB |
1412-
| `TokenizedMultilingual` | NoMatch | 200.3 us | 184.3 us | 138.91 KB | 140.06 KB |
1417+
| `LongDocuments` | Exact | 298.1 us | 300.2 us | 212.24 KB | 213.16 KB |
1418+
| `LongDocuments` | Typo | 334.8 us | 391.5 us | 212.88 KB | 216.30 KB |
1419+
| `LongDocuments` | NoMatch | 254.1 us | 257.1 us | 212.19 KB | 213.49 KB |
1420+
| `TokenizedMultilingual` | Exact | 219.8 us | 221.4 us | 139.18 KB | 140.30 KB |
1421+
| `TokenizedMultilingual` | Typo | 245.2 us | 267.6 us | 139.59 KB | 142.20 KB |
1422+
| `TokenizedMultilingual` | NoMatch | 182.7 us | 183.1 us | 138.91 KB | 140.15 KB |
14131423

14141424
Fuzzy edit-distance mean time:
14151425

14161426
| Scenario | Bounded bit-vector/banded | Naive Levenshtein | Speedup vs naive | Bounded allocation | Naive allocation |
14171427
| --- | ---: | ---: | ---: | ---: | ---: |
1418-
| Short deletion | 6.793 ns | 94.900 ns | 13.97x | 0 B | 112 B |
1419-
| Short substitution | 32.973 ns | 83.927 ns | 2.55x | 0 B | 112 B |
1420-
| Long insertion | 22.062 ns | 8,261.735 ns | 374.48x | 0 B | 640 B |
1421-
| Long no-match | 53.873 ns | 9,292.649 ns | 172.49x | 0 B | 672 B |
1428+
| Short deletion | 6.726 ns | 94.380 ns | 14.03x | 0 B | 112 B |
1429+
| Short substitution | 33.756 ns | 82.509 ns | 2.44x | 0 B | 112 B |
1430+
| Long insertion | 21.894 ns | 8,244.786 ns | 376.58x | 0 B | 640 B |
1431+
| Long no-match | 53.268 ns | 9,208.866 ns | 172.88x | 0 B | 672 B |
14221432

14231433
This run reflects the allocation-focused search hot-path pass: BM25 now uses the shared allocation-aware tokenizer, direct scoring loops, and bounded top-N match retention; fuzzy edit distance uses stack-backed bit-vector masks for short residual tokens and pooled rows for the long-token fallback; and Tiktoken search keeps only bounded top-N candidates while TF-IDF weighting updates dictionary values without temporary key arrays.
14241434

benchmarks/MarkdownLd.Kb.Benchmarks/AGENTS.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ Purpose: BenchmarkDotNet performance suite for Markdown-LD Knowledge Bank.
2121
## Commands
2222

2323
- build: `(cd ../.. && dotnet build MarkdownLd.Kb.slnx --no-restore)`
24-
- smoke: `(cd ../.. && dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphLifecycleSmokeBenchmarks*" --job Dry)`
25-
- quick: `(cd ../.. && dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphSearchBenchmarks*")`
24+
- fuzzy: `(cd ../.. && dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*FuzzyEditDistanceBenchmarks*")`
25+
- graph-build: `(cd ../.. && dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphBuildBenchmarks*")`
26+
- graph-search: `(cd ../.. && dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphSearchBenchmarks*")`
27+
- tiktoken-search: `(cd ../.. && dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*TiktokenSearchBenchmarks*")`
2628
- persistence: `(cd ../.. && dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphPersistenceBenchmarks*")`
29+
- lifecycle: `(cd ../.. && dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*GraphLifecycleBenchmarks*")`
2730
- profile: `(cd ../.. && MARKDOWN_LD_KB_BENCHMARK_PROFILE=cpu dotnet run --project benchmarks/MarkdownLd.Kb.Benchmarks -c Release -- --filter "*FuzzyEditDistanceBenchmarks*")`
2831

2932
## Applicable Skills

benchmarks/MarkdownLd.Kb.Benchmarks/BenchmarkCategories.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ internal static class BenchmarkCategories
99
internal const string Fuzzy = "fuzzy";
1010
internal const string Graph = "graph";
1111
internal const string Load = "load";
12+
internal const string Lifecycle = "lifecycle";
1213
internal const string Persistence = "persistence";
1314
internal const string Save = "save";
1415
internal const string Search = "search";
1516
internal const string Serialization = "serialization";
16-
internal const string Smoke = "smoke";
1717
internal const string Tiktoken = "tiktoken";
1818
}

benchmarks/MarkdownLd.Kb.Benchmarks/GraphLifecycleSmokeBenchmarks.cs renamed to benchmarks/MarkdownLd.Kb.Benchmarks/GraphLifecycleBenchmarks.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ namespace ManagedCode.MarkdownLd.Kb.Benchmarks;
99
BenchmarkCategories.Search,
1010
BenchmarkCategories.Persistence,
1111
BenchmarkCategories.Export,
12-
BenchmarkCategories.Smoke)]
13-
public class GraphLifecycleSmokeBenchmarks
12+
BenchmarkCategories.Lifecycle)]
13+
public class GraphLifecycleBenchmarks
1414
{
1515
private const BenchmarkCorpusProfile CorpusProfile = BenchmarkCorpusProfile.ShortDocuments;
16-
private const string StoreLocation = "smoke/graph.ttl";
16+
private const string StoreLocation = "lifecycle/graph.ttl";
1717
private const string FileName = "graph.ttl";
1818
private static readonly KnowledgeGraphFilePersistenceOptions TurtlePersistenceOptions = new()
1919
{
@@ -34,7 +34,7 @@ public void Setup()
3434
{
3535
_sources = BenchmarkCorpusFactory.CreateSources(CorpusProfile);
3636
_searchOptions = BenchmarkCorpusFactory.CreateRankedOptions(KnowledgeGraphSearchMode.Bm25);
37-
_temporaryDirectory = Path.Combine(Path.GetTempPath(), $"{nameof(GraphLifecycleSmokeBenchmarks)}-{Guid.NewGuid():N}");
37+
_temporaryDirectory = Path.Combine(Path.GetTempPath(), $"{nameof(GraphLifecycleBenchmarks)}-{Guid.NewGuid():N}");
3838
_filePath = Path.Combine(_temporaryDirectory, FileName);
3939
}
4040

benchmarks/MarkdownLd.Kb.Benchmarks/MarkdownLdBenchmarkConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ private void AddDefaultJob(IReadOnlyList<string> args)
4040
return;
4141
}
4242

43-
AddJob(Job.ShortRun.WithId("ShortRun"));
43+
AddJob(Job.Default.WithId("Default"));
4444
}
4545

4646
private static bool IsJobOption(string arg)

0 commit comments

Comments
 (0)