Skip to content

Speed up rendering of planets example#7397

Merged
tkoyama010 merged 5 commits intomainfrom
maint/solar_system_time
Apr 13, 2025
Merged

Speed up rendering of planets example#7397
tkoyama010 merged 5 commits intomainfrom
maint/solar_system_time

Conversation

@user27182
Copy link
Copy Markdown
Contributor

Overview

The planets example takes 4 minutes to render, even after #7357 was implemented.

This PR lowers the sampling resolution even more to speed it up.

@user27182 user27182 marked this pull request as draft April 10, 2025 15:57
@pyvista-bot pyvista-bot added documentation Anything related to the documentation/website maintenance Low-impact maintenance activity labels Apr 10, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.07%. Comparing base (e9df45b) to head (1438ddc).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7397   +/-   ##
=======================================
  Coverage   96.07%   96.07%           
=======================================
  Files         149      149           
  Lines       30618    30618           
  Branches     4015     4015           
=======================================
  Hits        29416    29416           
  Misses        571      571           
  Partials      631      631           

@pyvista-bot
Copy link
Copy Markdown
Contributor

pyvista-bot commented Apr 10, 2025

@pyvista-bot pyvista-bot temporarily deployed to pull request April 10, 2025 22:38 Inactive
@user27182
Copy link
Copy Markdown
Contributor Author

new execution time is 1m 30s instead of 4m
https://67f84843a3147b162189bc78--pyvista-dev.netlify.app/sg_execution_times.html

@user27182 user27182 marked this pull request as ready for review April 10, 2025 22:52
Copy link
Copy Markdown
Contributor

@MatthewFlamm MatthewFlamm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If anything the still images look even better than the originals.

@tkoyama010 tkoyama010 enabled auto-merge (squash) April 12, 2025 02:37
@pyvista-bot pyvista-bot temporarily deployed to pull request April 12, 2025 05:18 Inactive
@pyvista-bot pyvista-bot temporarily deployed to pull request April 13, 2025 09:22 Inactive
@tkoyama010 tkoyama010 merged commit 83e0a5a into main Apr 13, 2025
36 checks passed
@tkoyama010 tkoyama010 deleted the maint/solar_system_time branch April 13, 2025 09:28
krishanbhasin-px pushed a commit to krishanbhasin-px/pyvista that referenced this pull request Apr 14, 2025
* Resample env tecture for planets example

* Add files via upload

---------

Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com>
@banesullivan banesullivan mentioned this pull request Apr 17, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Anything related to the documentation/website maintenance Low-impact maintenance activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants