diff --git a/.mailmap b/.mailmap index 09eccfe3b4f..d8cc057f503 100644 --- a/.mailmap +++ b/.mailmap @@ -259,3 +259,6 @@ Ansh Kumar <1928013@kiit.ac.in> Ansh Kumar <1928013@kiit.ac.in> Kim Lingemann kimsina Kim Lingemann kim + + +Asish Kumar \ No newline at end of file diff --git a/memory-profile/memray/main.py b/memory-profile/memray/main.py new file mode 100644 index 00000000000..160657bf58e --- /dev/null +++ b/memory-profile/memray/main.py @@ -0,0 +1,10 @@ +from tardis import run_tardis + +sim = run_tardis("tardis_example.yml", + virtual_packet_logging=True, + show_convergence_plots=True, + export_convergence_plots=True, + log_level="INFO") + +# memray memray run --trace-python-allocators main.py +# memray flamegraph --leaks memray-main.py.12683.bin \ No newline at end of file diff --git a/memory-profile/memray/memray-flamegraph.html b/memory-profile/memray/memray-flamegraph.html new file mode 100644 index 00000000000..c4e2f035dba --- /dev/null +++ b/memory-profile/memray/memray-flamegraph.html @@ -0,0 +1,341 @@ + + + + + + + + + memray - flamegraph report (memory leaks) + + + + + + + + + + + + +
+
+
+ + + +
+
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/memory-profile/scalene/main.py b/memory-profile/scalene/main.py new file mode 100644 index 00000000000..448b98f727d --- /dev/null +++ b/memory-profile/scalene/main.py @@ -0,0 +1,9 @@ +from tardis import run_tardis + +sim = run_tardis("tardis_example.yml", + virtual_packet_logging=True, + show_convergence_plots=True, + export_convergence_plots=True, + log_level="INFO") + +# scalene --memory --reduced-profile main.py diff --git a/memory-profile/scalene/profile.html b/memory-profile/scalene/profile.html new file mode 100644 index 00000000000..3df0371fa31 --- /dev/null +++ b/memory-profile/scalene/profile.html @@ -0,0 +1,176105 @@ + + + + + + + + Scalene + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ + + +

+
+
+
+ AI optimization options + + + +
+ +
+ + + +
+ + +
+ + + + + + +
+ Proposed optimizations
+
+ + +
+
+ + +
+ + + +
+ + Click on an explosion (💥) to see proposed optimizations for a region of code,
+ or on a lightning bolt (⚡) to propose optimizations for a specific line.
+ Click again to generate a different one.
+ Note that optimizations are AI-generated and may not be correct. +
+
+
+
+
+
+
+ + + + \ No newline at end of file