Skip to content

Conversation

@c1ydehhx
Copy link
Contributor

What's new?

In this PR, I remove TimeRegistry related class and tests. Since we already complete #583, #582, and #581, it can be removed and use CallProfiler instead. So, I remove TimeRegistry related class and tests.

How to review it?

Please check all the tests is passed.

@c1ydehhx c1ydehhx force-pushed the migrate_time_registry branch from 5a92354 to 2490cfd Compare October 18, 2025 06:20
Copy link
Member

@yungyuc yungyuc left a comment

Choose a reason for hiding this comment

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

  • Keep StopWatch which is a convenient help for quick timing and add corresponding unit tests.
  • Fix the indentation.
  • Do not change blank lines and whitespaces unnecessarily.

(*this)
// clang-format off
.def_property_readonly_static("me", [](py::object const &) -> wrapped_type& { return wrapped_type::me(); })
.def_property_readonly_static("me", [](py::object const &) -> wrapped_type& { return wrapped_type::me(); })
Copy link
Member

Choose a reason for hiding this comment

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

Wrong indentation.


}; /* end class WrapWrapperTimerStatus */

class MODMESH_PYTHON_WRAPPER_VISIBILITY WrapStopWatch
Copy link
Member

Choose a reason for hiding this comment

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

Please keep StopWatch which is a convenient help for quick timing and add corresponding unit tests.


mod.attr("call_profiler") = mod.attr("CallProfiler").attr("instance");
}

Copy link
Member

Choose a reason for hiding this comment

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

Do not change blank lines and whitespaces unnecessarily.

@yungyuc yungyuc added the performance Profiling, runtime, and memory consumption label Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Profiling, runtime, and memory consumption

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants