-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Swift] Migrating benchmarks to a newer lib. #8168
[Swift] Migrating benchmarks to a newer lib. #8168
Conversation
mustiikhalil
commented
Nov 20, 2023
- The following PR adds a similar push to byte buffer for native structs that was introduced in [Swift] Push contiguous bytes #8157.
- Migrates our benchmarks.
- General code formatting.
@hassila I migrated the benchmark library to use the one you suggested. |
0557bdb
to
9609ff5
Compare
Cool! I'm a bit biased having been involved in that package, so obviously ageee. There are a few tweaks needed, I'll try to review tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First comment - will review more...
tests/swift/benchmarks/Benchmarks/FlatbuffersBenchmarks/FlatbuffersBenchmarks.swift
Outdated
Show resolved
Hide resolved
Some suggestions here: |
tests/swift/benchmarks/Benchmarks/FlatbuffersBenchmarks/FlatbuffersBenchmarks.swift
Outdated
Show resolved
Hide resolved
Updates benchmarks & cleanup Adds native struct vector tests
43f21b3
to
6f56762
Compare
@dbaileychess this is ready for review |
* Adds Nativestructs pointer push into ByteBuffer Updates benchmarks & cleanup Adds native struct vector tests * Address PR comments * Add more benchmarks * Some benchmark cleanup * Return back to 1M structs * Tweak Structs benchmark * Moves swift Benchmarks folder from /tests to /benchmarks --------- Co-authored-by: Joakim Hassila <jocke@ordo.one>
* Adds Nativestructs pointer push into ByteBuffer Updates benchmarks & cleanup Adds native struct vector tests * Address PR comments * Add more benchmarks * Some benchmark cleanup * Return back to 1M structs * Tweak Structs benchmark * Moves swift Benchmarks folder from /tests to /benchmarks --------- Co-authored-by: Joakim Hassila <jocke@ordo.one>
* Adds Nativestructs pointer push into ByteBuffer Updates benchmarks & cleanup Adds native struct vector tests * Address PR comments * Add more benchmarks * Some benchmark cleanup * Return back to 1M structs * Tweak Structs benchmark * Moves swift Benchmarks folder from /tests to /benchmarks --------- Co-authored-by: Joakim Hassila <jocke@ordo.one>