Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks committed Jan 12, 2024
1 parent c421474 commit a2de3a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/secnetperf.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ INSERT OR IGNORE INTO Secnetperf_tests (Secnetperf_test_ID, Kernel_mode, Run_arg
for ($i = 0; $i -lt $Result.Results.Length; $i++) {
$transport = $i -eq 1 ? "tcp" : "quic"
foreach ($item in $Result.Results[$i]) {
$json["$metric-$transport"] = $item
if ($metric.startsWith("throughput")) {
$json["$($Result.Metric)-$transport"] = $item
if ($Result.Metric.startsWith("throughput")) {
# Generate SQL statement. Assume LAST_INSERT_ROW_ID()
$SQL += @"
INSERT INTO Secnetperf_test_runs (Secnetperf_test_ID, Secnetperf_commit, Client_environment_ID, Server_environment_ID, Result, Latency_stats_ID)
Expand Down

0 comments on commit a2de3a2

Please sign in to comment.