-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into serialize-pojo-to-another
- Loading branch information
Showing
68 changed files
with
3,883 additions
and
1,444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
6.3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
**/*.cpp | ||
**/*.so | ||
**/*.dylib | ||
**/*.pyd | ||
bazel-* | ||
.whl | ||
python/.cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,26 @@ | ||
# Apache Fury™ C++ | ||
|
||
## How to build | ||
Fury is a blazingly-fast multi-language serialization framework powered by just-in-time compilation and zero-copy. | ||
|
||
## Build Fury C++ | ||
|
||
```bash | ||
# Build all projects | ||
bazel build //:all | ||
# Run all tests | ||
bazel test //:all | ||
``` | ||
|
||
## Environment | ||
|
||
- Bazel version: 6.3.2 | ||
|
||
## Benchmark | ||
|
||
```bash | ||
bazel build //cpp/fury/benchmark:all | ||
bazel test //cpp/fury/benchmark:all | ||
# You can also run a single benchmark to see how efficient it is. | ||
# For example | ||
bazel run //cpp/fury/benchmark:benchmark_string_util | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") | ||
|
||
cc_library( | ||
name = "fury_benchmark", | ||
srcs = glob(["*.cc"], exclude=["benchmark*.cc"]), | ||
hdrs = glob(["*.h"]), | ||
strip_include_prefix = "/cpp", | ||
alwayslink = True, | ||
linkstatic = True, | ||
deps = [ | ||
"//cpp/fury/util:fury_util", | ||
"@com_google_benchmark//:benchmark", | ||
], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
|
||
cc_test( | ||
name = "benchmark_string_util", | ||
srcs = ["benchmark_string_util.cc"], | ||
deps = [ | ||
":fury_benchmark", | ||
], | ||
) |
Oops, something went wrong.