Skip to content

Commit

Permalink
Updated the documentation with description for providing "benchAccess…
Browse files Browse the repository at this point in the history
…Token"
  • Loading branch information
emasliukovas committed Mar 18, 2021
1 parent c42bc7e commit 2dd374b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Configuration located in file `<cybench-home>/conf/cybench-launcher.properties`
| **runThreadCount**| Number of threads for benchmark test execution. | 1 |
| **benchmarkMetadata**| A property which adds extra properties to the benchmarks report such as category or version or context. Configuration pattern is `<fully qualified benchmark class name>=<key1>:<value1>;<key2>:<value2>`. Example which adds category for class CollectionsBenchmarks: `com.gocypher.benchmarks.client.CollectionsBenchmarks=category:Collections;` | - |
| **userProperties**| User defined properties which will be added to benchmarks report section `environmentSettings->userDefinedProperties` as key/value strings. Configuration pattern:`<key1>:<value1>;<key2>:<value2>`. Example which adds a project name:`user.propname1=My Test Project;` | - |
| **benchAccessToken** | By providing the "bench" token that you get after creating a workspace in CyBench UI, you can send reports to your private directory, which will be visible only to the users that you authorize. | - |

## Running User-defined Benchmarks using CyBench

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,6 @@ public Map<String, String> prepareBenchmarkProperties(String className,
}
return benchmarkProperties;
} catch (Exception e) {
benchmarkProperties.put("benchCategory", "CUSTOM");
benchmarkProperties.put("benchContext", "Custom");
benchmarkProperties.put("benchVersion", "1.0.0");
LOG.error("Error on resolving benchmarks category, context and version: class={}", className, e);
}
return benchmarkProperties;
Expand Down

0 comments on commit 2dd374b

Please sign in to comment.