Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tushar5526
Copy link
Member

Related to #397

@tushar5526 tushar5526 requested a review from ziyaointl November 12, 2022 11:03
@ziyaointl
Copy link
Member

Here are some rudimentary benchmark results for this change on MacOS. I ran each benchmark only once, so this is only a rough estimate. Given that the performance impact is at most 10%, I think we are ok with this change for the time being.

benchmark with pyopengl-accelerate without pyopengl-accelerate change
arcs 8.944169 9.764988 9.18%
arm 2.612446 2.611884 -0.02%
basic_shapes 2.629553 2.688781 2.25%
begin_contour 2.684205 2.711441 1.01%
curves 4.766132 4.962305 4.12%
custom_shapes 4.643741 4.754362 2.38%
custom_shapes2 3.75905 3.791483 0.86%
point_demo 2.880713 2.939999 2.06%
primitives 3.651718 3.717032 1.79%
spinning-cone_p3d 9.417307 9.437273 0.21%
tetrahedron_p3d 8.114283 8.203861 1.10%
triangle_strip 3.228278 3.228012 -0.01%
world_p3d 26.883501 26.991062 0.40%

@tushar5526
Copy link
Member Author

I will add this as a side note in release notes
Thanks @ziyaointl

@tushar5526 tushar5526 merged commit ff54444 into master Nov 15, 2022
@tushar5526 tushar5526 deleted the accel-fix branch November 15, 2022 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants