Skip to content

Profiler Tagging#631

Open
michaelharmonart wants to merge 4 commits intomgear-dev:masterfrom
michaelharmonart:profile-tagging
Open

Profiler Tagging#631
michaelharmonart wants to merge 4 commits intomgear-dev:masterfrom
michaelharmonart:profile-tagging

Conversation

@michaelharmonart
Copy link
Copy Markdown
Contributor

Description of Changes

  • Added profile.py which contains functions for tagging nodes for Maya's profiler.
  • Added color.py for creating color palletes for the profile tagging and conversion between color spaces.
  • Added automatic tagging of nodes created in the shifter build.

This is a port of code from the rig build system we've been using at BYU Animation for the last 2 years, with a few cleanups and tweaks to better fit the mGear code style.

image Here's a profiler view of a simple test with the EPIC mannequin biped template. This is useful for getting a visualization of how specific components are being analyzed in parallel and for removing bottlenecks when developing custom components.

Testing Done

Built all stock templates with Maya 2026 in RHEL without issue.

Notes

While there haven't been direct requests for this feature, it is something I've found useful for improving rig performance on our projects and thought the community might find it useful.
I've also considered adding this same automatic tagging for custom steps, as well as making an option for it in the root guide. Let me know if you'd like those additions or any other tweaks!

@miquelcampos
Copy link
Copy Markdown
Member

Hello @michaelharmonart
This looks super interesting!! Thanks for the PR.
I will test it ASAP! :D

@miquelcampos miquelcampos self-assigned this Apr 27, 2026
@miquelcampos miquelcampos added the enhancement New feature or request label Apr 27, 2026
@github-project-automation github-project-automation Bot moved this to To Do in mGear DEV Apr 27, 2026
@miquelcampos miquelcampos moved this from To Do to WIP in mGear DEV Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: WIP

Development

Successfully merging this pull request may close these issues.

2 participants