Skip to content

Commit

Permalink
create copy script for generating latest sample results
Browse files Browse the repository at this point in the history
  • Loading branch information
laffra committed Jul 31, 2023
1 parent ef1bc21 commit 0d27daa
Show file tree
Hide file tree
Showing 13 changed files with 315 additions and 2,921 deletions.
25 changes: 16 additions & 9 deletions copy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
rm -rf zip

mkdir zip

mkdir zip/Treemap-Jupyter-Notebook/
mkdir zip/examples-binaryTrees/
mkdir zip/examples-bookstore/
Expand All @@ -9,12 +13,15 @@ mkdir zip/examples-memory/
mkdir zip/examples-modules/
mkdir zip/setup/

examples-binaryTrees/2023_07_31_11_15_56
examples-bookstore/2023_07_31_11_15_57
examples-dataframes/2023_07_31_11_15_57
examples-example/2023_07_31_11_16_05
examples-files/2023_07_31_11_15_59
examples-go/2023_07_31_11_16_11
examples-memory/2023_07_31_11_16_19
examples-modules/2023_07_31_11_15_54
setup/2023_07_31_11_17_08
cp /Users/laffra/microlog/logs/examples-binaryTrees/*.log zip/examples-binaryTrees
cp /Users/laffra/microlog/logs/examples-bookstore/*.log zip/examples-bookstore
cp /Users/laffra/microlog/logs/examples-dataframes/*.log zip/examples-dataframes
cp /Users/laffra/microlog/logs/examples-example/*.log zip/examples-example
cp /Users/laffra/microlog/logs/examples-files/*.log zip/examples-files
cp /Users/laffra/microlog/logs/examples-go/*.log zip/examples-go
cp /Users/laffra/microlog/logs/examples-memory/*.log zip/examples-memory
cp /Users/laffra/microlog/logs/examples-modules/*.log zip/examples-modules
cp /Users/laffra/microlog/logs/setup/*.log zip/setup

cd zip
ls -1 */* > ../logs
19 changes: 10 additions & 9 deletions logs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
examples-binaryTrees/2023_07_31_11_15_56
examples-bookstore/2023_07_31_11_15_57
examples-dataframes/2023_07_31_11_15_57
examples-example/2023_07_31_11_16_05
examples-files/2023_07_31_11_15_59
examples-go/2023_07_31_11_16_11
examples-memory/2023_07_31_11_16_19
examples-modules/2023_07_31_11_15_54
setup/2023_07_31_11_17_08
examples-binaryTrees/2023_07_31_11_15_56.log
examples-bookstore/2023_07_31_11_15_57.log
examples-dataframes/2023_07_31_11_15_57.log
examples-example/2023_07_31_11_16_05.log
examples-files/2023_07_31_11_15_59.log
examples-go/2023_07_31_11_16_11.log
examples-memory/2023_07_31_11_16_19.log
examples-modules/2023_07_31_11_15_54.log
setup/2023_07_31_11_17_04.log
setup/2023_07_31_11_17_08.log
2,903 changes: 0 additions & 2,903 deletions zip/Treemap-Jupyter-Notebook/2023_07_31_11_16_42

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
289 changes: 289 additions & 0 deletions zip/setup/2023_07_31_11_17_04.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,289 @@
# 10 87 Symbols
100 1 19435520 34359738368 9123463168 178
75 0 26570752 34359738368 9123463168 265
94 0 28807168 34359738368 9123463168 269
82 0 34742272 34359738368 9123463168 329
8 0 35180544 34359738368 9123463168 343
0 0 35184640 34359738368 9123463168 343
sitecustomize..install_microlog_as_a_continuous_profiler
sitecustomize..<module>
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/sitecustomize.py
site..execsitecustomize
site..main
site..<module>
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site.py
importlib._bootstrap..exec_module
microlog.sitecustomize..install_microlog_as_a_continuous_profiler
microlog.sitecustomize..<module>
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/micrologai-1.3.3-py3.11.egg/microlog/sitecustomize.py
Microlog: Using a signal timer with a sample delay of 0.05s
## Command line\n/Users/laffra/dev/micrologai/microlog/.venv/bin/python3 setup.py install\n## Environment\n - MallocNanoZone: 0\n - USER: laffra\n - COMMAND_MODE: unix2003\n - __CFBundleIdentifier: com.microsoft.VSCode\n - PATH: /Users/laffra/dev/micrologai/microlog/.venv/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/Users/laffra/.cargo/bin\n - LOGNAME: laffra\n - SSH_AUTH_SOCK: /private/tmp/com.apple.launchd.qVSzDUlJcZ/Listeners\n - HOME: /Users/laffra\n - SHELL: /bin/zsh\n - TMPDIR: /var/folders/mv/__z7_p816qg_qwf3js5gb5w00000gn/T/\n - __CF_USER_TEXT_ENCODING: 0x1F5:0x0:0x0\n - XPC_SERVICE_NAME: 0\n - XPC_FLAGS: 0x0\n - ORIGINAL_XDG_CURRENT_DESKTOP: undefined\n - SHLVL: 1\n - PWD: /Users/laffra/dev/micrologai/microlog\n - OLDPWD: /Users/laffra/dev/micrologai/microlog\n - TERM_PROGRAM: vscode\n - TERM_PROGRAM_VERSION: 1.80.1\n - LANG: en_US.UTF-8\n - COLORTERM: truecolor\n - GIT_ASKPASS: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh\n - VSCODE_GIT_ASKPASS_NODE: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)\n - VSCODE_GIT_ASKPASS_EXTRA_ARGS: --ms-enable-electron-run-as-node\n - VSCODE_GIT_ASKPASS_MAIN: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js\n - VSCODE_GIT_IPC_HANDLE: /var/folders/mv/__z7_p816qg_qwf3js5gb5w00000gn/T/vscode-git-5ea1f84a0f.sock\n - VSCODE_INJECTION: 1\n - ZDOTDIR: /Users/laffra\n - USER_ZDOTDIR: /Users/laffra\n - TERM: xterm-256color\n - VIRTUAL_ENV: /Users/laffra/dev/micrologai/microlog/.venv\n - PS1: (.venv) %n@%m %1~ %# \n - VIRTUAL_ENV_PROMPT: (.venv) \n - _: /Users/laffra/dev/micrologai/microlog/.venv/bin/python3
\n# General Statistics\n- Performed 6 samples\n# GC Statistics\nGC ran 56 times for 0.010s (2.4% of 0.434s), averaging 0.000s per collection.\nIn total, 2,222 objects were collected.\n\n# Possible Memory Leaks\nFound 1,280 relevant leaks. Here is the top 10:\n - 320 instances of enum.property\n - 212 instances of pkg_resources._vendor.pyparsing.core.And\n - 112 instances of pkg_resources._vendor.pyparsing.core._SingleCharLiteral\n - 110 instances of pkg_resources._vendor.pyparsing.core.Regex\n - 82 instances of pkg_resources._vendor.pyparsing.core.Opt\n - 70 instances of pkg_resources._vendor.pyparsing.core.Literal\n - 48 instances of pkg_resources._vendor.pyparsing.core.MatchFirst\n - 42 instances of pkg_resources._vendor.pyparsing.core.Suppress\n - 36 instances of pkg_resources._vendor.pyparsing.core.Combine\n - 31 instances of pkg_resources.__init__.PathMetadata
_frozen_importlib_external.SourceFileLoader.get_data
pkg_resources.extern.packaging.requirements..<module>
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/pkg_resources/_vendor/packaging/requirements.py
importlib._bootstrap..module_from_spec
pkg_resources.extern.VendorImporter.create_module
pkg_resources.extern.VendorImporter.load_module
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/pkg_resources/extern/__init__.py
pkg_resources._vendor.pyparsing..<module>
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/__init__.py
pkg_resources._vendor.pyparsing.common..<module>
pkg_resources._vendor.pyparsing.common..pyparsing_common
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/common.py
pkg_resources._vendor.pyparsing.core.Combine.__init__
pkg_resources._vendor.pyparsing.core.Combine.leave_whitespace
pkg_resources._vendor.pyparsing.core.MatchFirst.leave_whitespace
pkg_resources._vendor.pyparsing.core.And.leave_whitespace
pkg_resources._vendor.pyparsing.core.And.copy
pkg_resources._vendor.pyparsing.core..<listcomp>
pkg_resources._vendor.pyparsing.core._SingleCharLiteral.copy
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/core.py
pkg_resources..Environment
pkg_resources..get_supported_platform
pkg_resources.._macos_vers
platform..mac_ver
platform.._mac_ver_xml
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/platform.py
setuptools.version..<module>
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/setuptools/version.py
pkg_resources..<module>
pkg_resources.._call_aside
pkg_resources.._initialize_master_working_set
pkg_resources.WorkingSet.add_entry
pkg_resources..find_on_path
pkg_resources..distributions_from_metadata
pkg_resources..from_location
pkg_resources.EggInfoDistribution._reload_version
pkg_resources.EggInfoDistribution._get_version
pkg_resources.._version_from_file
pkg_resources.EggInfoDistribution._get_metadata
pkg_resources.PathMetadata.get_metadata_lines
pkg_resources.PathMetadata.get_metadata
pkg_resources.PathMetadata._get
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/pkg_resources/__init__.py
setuptools.config..<module>
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/setuptools/config/__init__.py
importlib._bootstrap.._handle_fromlist
setuptools.config.setupcfg..<module>
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/setuptools/config/setupcfg.py
setuptools.extern.packaging.requirements..<module>
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/setuptools/_vendor/packaging/requirements.py
_frozen_importlib._ModuleLockManager.__enter__
importlib._bootstrap.._get_module_lock
_frozen_importlib._ModuleLock.__init__
setup..<module>
/Users/laffra/dev/micrologai/microlog/setup.py
setuptools..<module>
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/setuptools/__init__.py
importlib._bootstrap.._call_with_frames_removed
setuptools.dist..<module>
/Users/laffra/dev/micrologai/microlog/.venv/lib/python3.11/site-packages/setuptools/dist.py
importlib._bootstrap.._find_and_load
importlib._bootstrap.._find_and_load_unlocked
importlib._bootstrap.._load_unlocked
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/_bootstrap.py
_frozen_importlib_external.SourceFileLoader.exec_module
_frozen_importlib_external.SourceFileLoader.get_code
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/_bootstrap_external.py
# 2 Statuses
0.001 86
0.107 85
0.213 84
0.319 83
0.433 82
0.433 81
# 7 CallSites
14 78 19 80
13 78 27 79
12 74 548 77
11 74 609 76
10 74 616 75
9 3 982 73
8 70 16 72
7 70 24 71
6 0 940 2
5 3 690 4
4 3 1149 5
3 3 1178 6
2 3 241 9
1 3 1234 21
0 12 11 13
# 9 Stacks
2 3 4 5 9 10 11 12 3 4 5 6 2 13 14
1 3 4 5 9 10 11 12 3 4 5 6 2 13 14
0 0 1 2 3 4 5 6 2 7 8
# 8 Markers
3 0.002 69 2 0.1
5 0.002 68 1 0.1
6 0.516 67 0 0.1
# 7 CallSites
58 3 1128 5
57 0 1032 1
56 0 1131 66
55 24 84 38
54 64 10 65
53 3 676 4
52 3 573 63
51 60 52 62
50 60 37 61
49 58 149 59
48 55 8 57
47 55 240 56
46 47 5404 54
45 47 4385 53
44 47 3645 52
43 47 3643 51
42 47 3643 49
41 47 3724 50
40 47 3724 49
39 47 499 48
38 24 969 38
37 24 973 46
36 24 191 45
35 24 366 44
34 41 448 43
33 41 424 42
32 39 1 40
31 24 3259 38
30 24 3234 37
29 24 3295 36
28 24 621 35
27 24 2096 34
26 24 2161 33
25 24 2612 32
24 24 3010 31
23 24 2791 30
22 24 2575 29
21 24 2786 28
20 24 1441 27
19 24 1431 26
18 24 1635 25
17 22 10 23
16 3 1234 21
15 19 18 20
14 17 10 18
13 3 1175 6
12 3 170 16
11 3 196 15
10 3 71 14
9 12 4 13
8 10 18 11
7 0 940 2
6 3 241 9
5 7 43 8
4 3 1178 6
3 3 1149 5
2 3 690 4
1 0 936 2
0 0 1030 1
# 1 Calls
0.052 0 6 58 21 0.055
0.052 0 4 6 22 0.055
0.052 0 58 4 23 0.055
0.052 0 6 58 24 0.055
0.052 0 4 6 25 0.055
0.052 0 3 4 26 0.055
0.052 0 2 3 27 0.055
0.052 0 1 2 28 0.055
0.052 0 57 1 29 0.055
0.052 0 56 57 30 0.055
0.052 0 4 55 19 0.109
0.052 0 3 4 20 0.109
0.107 0 2 3 21 0.054
0.107 0 7 2 22 0.054
0.107 0 6 7 23 0.054
0.107 0 54 6 24 0.0
0.107 0 4 54 25 0.0
0.107 0 3 4 26 0.0
0.107 0 53 3 27 0.0
0.107 0 52 53 28 0.0
0.107 0 51 52 29 0.0
0.107 0 50 51 30 0.0
0.107 0 4 50 31 0.0
0.107 0 3 4 32 0.0
0.107 0 2 3 33 0.0
0.107 0 7 2 34 0.0
0.107 0 6 7 35 0.0
0.107 0 49 6 36 0.0
0.107 0 4 49 37 0.0
0.107 0 3 4 38 0.0
0.107 0 2 3 39 0.0
0.107 0 7 2 40 0.0
0.107 0 6 7 41 0.0
0.107 0 48 6 42 0.0
0.107 0 47 48 43 0.0
0.107 0 46 47 44 0.0
0.107 0 45 46 45 0.0
0.107 0 44 45 46 0.0
0.107 0 44 44 47 0.0
0.107 0 43 44 48 0.0
0.107 0 42 43 49 0.0
0.107 0 41 42 50 0.0
0.107 0 40 41 51 0.0
0.107 0 41 40 52 0.0
0.107 0 40 41 53 0.0
0.107 0 39 40 54 0.0
0.162 0 37 38 19 0.051
0.162 0 36 37 20 0.051
0.162 0 35 36 21 0.051
0.162 0 34 35 22 0.051
0.162 0 33 34 23 0.051
0.052 0 32 6 12 0.213
0.052 0 4 32 13 0.213
0.052 0 3 4 14 0.213
0.052 0 2 3 15 0.213
0.052 0 7 2 16 0.213
0.052 0 6 7 17 0.213
0.052 0 31 6 18 0.213
0.213 0 30 31 19 0.052
0.213 0 29 30 20 0.052
0.213 0 28 29 21 0.052
0.213 0 27 28 22 0.052
0.213 0 26 27 23 0.052
0.213 0 25 26 24 0.052
0.213 0 24 25 25 0.052
0.213 0 23 24 26 0.052
0.213 0 22 23 27 0.052
0.213 0 21 22 28 0.052
0.213 0 20 21 29 0.052
0.213 0 19 20 30 0.052
0.213 0 18 19 31 0.052
0.265 0 6 7 17 0.054
0.265 0 17 6 18 0.0
0.265 0 16 17 19 0.0
0.265 0 6 16 20 0.0
0.265 0 4 6 21 0.0
0.265 0 3 4 22 0.0
0.265 0 2 3 23 0.0
0.265 0 7 2 24 0.0
0.265 0 6 7 25 0.0
0.265 0 15 6 26 0.0
0.265 0 4 15 27 0.0
0.265 0 3 4 28 0.0
0.265 0 2 3 29 0.0
0.265 0 7 2 30 0.0
0.265 0 6 7 31 0.0
0.265 0 14 6 32 0.0
0.265 0 13 14 33 0.0
0.265 0 12 13 34 0.0
0.265 0 11 12 35 0.0
0.265 0 10 11 36 0.0
0.052 0 9 0 0 0.267
0.052 0 4 9 1 0.267
0.052 0 3 4 2 0.267
0.052 0 2 3 3 0.267
0.052 0 7 2 4 0.267
0.052 0 6 7 5 0.267
0.052 0 8 6 6 0.267
0.052 0 4 8 7 0.267
0.052 0 3 4 8 0.267
0.052 0 2 3 9 0.267
0.052 0 7 2 10 0.267
0.052 0 6 7 11 0.267
0.265 0 5 6 12 0.054
0.265 0 4 5 13 0.054
0.265 0 3 4 14 0.054
0.265 0 2 3 15 0.054
0.265 0 1 2 16 0.054
0.319 0 0 1 17 0.0
File renamed without changes.

0 comments on commit 0d27daa

Please sign in to comment.