Skip to content
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

Merged

Conversation

mustiikhalil
Copy link
Collaborator

  • 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.

@mustiikhalil
Copy link
Collaborator Author

@hassila I migrated the benchmark library to use the one you suggested.
It looks better than what we had honestly! Thanks for the recommendation.

@mustiikhalil mustiikhalil force-pushed the update-struct-pushing-to-buffer branch from 0557bdb to 9609ff5 Compare November 20, 2023 18:03
@hassila
Copy link
Contributor

hassila commented Nov 20, 2023

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.

Copy link
Contributor

@hassila hassila left a 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...

@hassila
Copy link
Contributor

hassila commented Nov 21, 2023

Some suggestions here:

mustiikhalil#3

@mustiikhalil mustiikhalil force-pushed the update-struct-pushing-to-buffer branch from 43f21b3 to 6f56762 Compare November 21, 2023 17:44
@mustiikhalil
Copy link
Collaborator Author

@dbaileychess this is ready for review

@dbaileychess dbaileychess merged commit 94ff188 into google:master Nov 23, 2023
48 checks passed
candysonya pushed a commit to candysonya/flatbuffers that referenced this pull request Jan 8, 2024
* 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>
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
* 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>
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants