Joshua Haberman
|
a345af9883
|
Added a codegen parameter for whether fasttables are generated or not.
Example:
$ CC=clang bazel build -c opt --copt=-g benchmarks:benchmark --//:fasttable_enabled=false
INFO: Build option --//:fasttable_enabled has changed, discarding analysis cache.
INFO: Analyzed target //benchmarks:benchmark (0 packages loaded, 913 targets configured).
INFO: Found 1 target...
Target //benchmarks:benchmark up-to-date:
bazel-bin/benchmarks/benchmark
INFO: Elapsed time: 0.760s, Critical Path: 0.58s
INFO: 7 processes: 1 internal, 6 linux-sandbox.
INFO: Build completed successfully, 7 total actions
$ bazel-bin/benchmarks/benchmark --benchmark_filter=BM_Parse_Upb
------------------------------------------------------------------------------
Benchmark Time CPU Iterations
------------------------------------------------------------------------------
BM_Parse_Upb_FileDesc_WithArena 10985 ns 10984 ns 63567 651.857MB/s
BM_Parse_Upb_FileDesc_WithInitialBlock 10556 ns 10554 ns 66138 678.458MB/s
$ CC=clang bazel build -c opt --copt=-g benchmarks:benchmark --//:fasttable_enabled=true
INFO: Build option --//:fasttable_enabled has changed, discarding analysis cache.
INFO: Analyzed target //benchmarks:benchmark (0 packages loaded, 913 targets configured).
INFO: Found 1 target...
Target //benchmarks:benchmark up-to-date:
bazel-bin/benchmarks/benchmark
INFO: Elapsed time: 0.744s, Critical Path: 0.58s
INFO: 7 processes: 1 internal, 6 linux-sandbox.
INFO: Build completed successfully, 7 total actions
$ bazel-bin/benchmarks/benchmark --benchmark_filter=BM_Parse_Upb
------------------------------------------------------------------------------
Benchmark Time CPU Iterations
------------------------------------------------------------------------------
BM_Parse_Upb_FileDesc_WithArena 3284 ns 3284 ns 213495 2.1293GB/s
BM_Parse_Upb_FileDesc_WithInitialBlock 2882 ns 2882 ns 243069 2.4262GB/s
Biggest unknown is whether this parameter should default to true or false.
|
4 years ago |
Joshua Haberman
|
8e8dbb5258
|
Merge branch 'fastest-table' into fast-table
|
4 years ago |
Joshua Haberman
|
7d17a0e8c5
|
Merge branch 'master' into fastest-table
|
4 years ago |
Joshua Haberman
|
a7e2e8338d
|
Fixed benchmark script.
|
4 years ago |
Joshua Haberman
|
72de7b7002
|
Merge branch 'fastest-table' into fast-table
|
4 years ago |
Joshua Haberman
|
cb234e652c
|
Merge branch 'master' into fastest-table
|
4 years ago |
Joshua Haberman
|
b86cf2d789
|
Merge pull request #323 from haberman/build-files
Split monolithic BUILD file into many build files.
|
4 years ago |
Joshua Haberman
|
4ea81ab107
|
Fixed pedantic warning.
|
4 years ago |
Joshua Haberman
|
6399b31f4b
|
Removed ULL constants in json_decode.c.
|
4 years ago |
Joshua Haberman
|
c8ae197e64
|
Removed "U" suffixes, they are not necessary.
|
4 years ago |
Joshua Haberman
|
bc1e0b314f
|
Fixed some strict C89 errors.
|
4 years ago |
Joshua Haberman
|
2c1664906a
|
Removed license comments and upb_amalgamation for google3.
|
4 years ago |
Joshua Haberman
|
b7dc77415a
|
Added licenses() to all BUILD files.
|
4 years ago |
Joshua Haberman
|
de22764b33
|
Updated Kokoro to test ... instead of :all.
|
4 years ago |
Joshua Haberman
|
e3f41de6c7
|
Split monolithic BUILD file into many build files.
|
4 years ago |
Joshua Haberman
|
fbe2bcafbc
|
Merge pull request #4 from gerben-s/gerbens-fast-table
Add repeated varints and fixed parsers
|
4 years ago |
gerben-s
|
9e68ec033f
|
Add repeated varints and fixed parsers
|
4 years ago |
Joshua Haberman
|
d0e4b688c6
|
Shorten name of kAliasString, so benchmark results don't wrap.
|
4 years ago |
Joshua Haberman
|
c0c9b5a168
|
Regenerated generated code.
|
4 years ago |
Joshua Haberman
|
eb8e6de8b7
|
Regenerated source files.
|
4 years ago |
Joshua Haberman
|
7f0d535826
|
Merge branch 'fastest-table' into fast-table
|
4 years ago |
Joshua Haberman
|
bf8e08074c
|
Added a few more comments.
|
4 years ago |
Joshua Haberman
|
6e3c22e6ee
|
Merge branch 'fastest-table' into fast-table
|
4 years ago |
Joshua Haberman
|
3238821315
|
Gave fast table entry a nicer name.
|
4 years ago |
Joshua Haberman
|
2a574d3d01
|
Added a bunch of comments for readability.
|
4 years ago |
Joshua Haberman
|
0deca8b8fb
|
Merge branch 'master' into fast-table
|
4 years ago |
Joshua Haberman
|
bfadc99709
|
Merge branch 'master' into fastest-table
|
4 years ago |
Joshua Haberman
|
84e0f6127d
|
Merge branch 'master' into fastest-table
|
4 years ago |
Joshua Haberman
|
61c51a607b
|
Merge branch 'master' into fast-table
|
4 years ago |
Joshua Haberman
|
4f066765a9
|
Merge pull request #320 from haberman/string-view-benchmark
Added a benchmark for ctype=STRING_PIECE
|
4 years ago |
Joshua Haberman
|
bf393bf086
|
Cleaned up benchmark names.
|
4 years ago |
Joshua Haberman
|
9eb8414b31
|
Added descriptor_sv.proto.
|
4 years ago |
Joshua Haberman
|
ee7da95367
|
Bzl formatting fix per buildifier.
|
4 years ago |
Joshua Haberman
|
de1b6b0718
|
Refactored proto2 benchmarks and added StringView benchmark.
|
4 years ago |
Joshua Haberman
|
c2901eeee1
|
Added missing #includes (caught by Blaze).
|
4 years ago |
Joshua Haberman
|
52721eadc7
|
Order LargeInitialBlock after non-initial-block test.
|
4 years ago |
Joshua Haberman
|
44a7130845
|
Used the correct copy of the protos in the benchmark.
|
4 years ago |
Joshua Haberman
|
3a242e7a48
|
Merge branch 'master' into fast-table
|
4 years ago |
Joshua Haberman
|
d01b712dbb
|
Merge branch 'master' into fastest-table
|
4 years ago |
Joshua Haberman
|
d225dfc2ed
|
Buildifier formatting fixes.
|
4 years ago |
Joshua Haberman
|
b0994a6501
|
Added missing dep from benchmark.
|
4 years ago |
Joshua Haberman
|
de80054018
|
Make required fields optional for benchmarking.
|
4 years ago |
Joshua Haberman
|
745661bf1f
|
Merge branch 'master' into fastest-table
|
4 years ago |
Joshua Haberman
|
11585095b7
|
Merge pull request #319 from haberman/copy-descriptor
Snapshot descriptor.proto into our own copy for benchmarking purposes.
|
4 years ago |
Joshua Haberman
|
fd5a35d49d
|
Minor comment changes.
|
4 years ago |
Joshua Haberman
|
bdd1a516e8
|
Fixed other tests.
|
4 years ago |
Joshua Haberman
|
27262adf93
|
Snapshot descriptor.proto into our own copy for benchmarking purposes.
This will ensure that the schema and payload are constant across
time and space.
|
4 years ago |
Joshua Haberman
|
d6b40fd5e2
|
Added missing dependency on reflection.
|
4 years ago |
Joshua Haberman
|
b9f1b67d07
|
Use quoted include.
|
4 years ago |
Joshua Haberman
|
1c8c16b9b1
|
Use quoted include.
|
4 years ago |