repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
Benchmark

Compile time

The following benchmarks measure only how long it took to compile. You can find these benchmarks in benchmark/compiletime.

These tests are generated by running clang with -ftime-trace and processing the resulting tracing file using the palgen extension tools/benchmark.py (check documentation here).

Enum

Access individual enumerator names

All enumerator names

frappe-chart enum_names

datatable enum_names_data
{
"columns": [
{
"className": "dt-control",
"orderable": false,
"data": null,
"defaultContent": ""
},
{"title": "Commit", "data": "commit"},
{"title": "Timestamp", "data": "timestamp"},
{"title": "Recursive", "data": "results.recursive"},
{"title": "Chunked", "data": "results.chunked"},
{"title": "Chunked Variadic", "data": "results.chunked_pack"},
{"title": "magic_enum", "data": "results.magic_enum"}
],
"data": "https://raw.githubusercontent.com/wiki/Tsche/repr/enum/b668e355.json",
"autoWidth": false
}

frappe-chart enum_name

datatable enum_name_data
{
"columns": [
{
"className": "dt-control",
"orderable": false,
"data": null,
"defaultContent": ""
},
{"title": "Commit", "data": "commit"},
{"title": "Timestamp", "data": "timestamp"},
{"title": "Recursive", "data": "results.recursive"},
{"title": "Chunked", "data": "results.chunked"},
{"title": "Chunked Variadic", "data": "results.chunked_pack"},
{"title": "magic_enum", "data": "results.magic_enum"}
],
"data": "https://raw.githubusercontent.com/wiki/Tsche/repr/enum/6b47c796.json"
}

Runtime

The following benchmarks use Google Benchmark to measure runtime performance. You can find these tests in benchmark/runtime.