Skip to content

Commit

Permalink
Update main call static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MOONLAPSED authored Jan 23, 2025
1 parent 4285bbd commit 2ef8168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Run main python app
run: |
source venv/bin/activate
python3 main.py -- python3 ./src/__init__.py 2>&1 | tee -a logs/app.log logs/python-app.log
python3 topinit.py -- python3 ./src/__init__.py 2>&1 | tee -a logs/app.log logs/python-app.log
- name: Archive test output as artifact
if: always()
uses: actions/upload-artifact@v4.6.0
Expand Down

1 comment on commit 2ef8168

@MOONLAPSED
Copy link
Owner Author

Choose a reason for hiding this comment

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

source venv/bin/activate
python3 topinit.py -- python3 ./src/init.py 2>&1 | tee -a logs/app.log logs/python-app.log
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.13.1/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.13.1/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.1/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.1/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.1/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.13.1/x64/lib
INFO:src.init:Found available port: 8420
INFO:src.init:Using port: 8420
INFO:src:Found available port: 8420
INFO:src:Using port: 8420
INFO:main:Found available port: 8420
INFO:main:Using port: 8420
func you
func you
func you
STDOUT:
STDERR:
STATUS: 0


0.016s
STDOUT:
STDERR:
STATUS: 0


0.015s
STDOUT:
STDERR:
STATUS: 0


0.015s
STDOUT:
STDERR:
STATUS: 0


0.014s
STDOUT:
STDERR:
STATUS: 0


0.015s
STDOUT:
STDERR:
STATUS: 0


0.014s
STDOUT:
STDERR:
STATUS: 0


0.014s
STDOUT:
STDERR:
STATUS: 0


0.014s
STDOUT:
STDERR:
STATUS: 0


0.015s
STDOUT:
STDERR:
STATUS: 0


0.014s


Best of 10: 0.014s
Profile data:
1726 function calls in 0.146 seconds

Ordered by: cumulative time

ncalls tottime percall cumtime percall filename:lineno(function)
10 0.000 0.000 0.146 0.015 /home/runner/work/RAGKET/RAGKET/topinit.py:262(run_command)
10 0.000 0.000 0.146 0.015 /home/runner/work/RAGKET/RAGKET/topinit.py:219(_posix_run_command)
10 0.000 0.000 0.146 0.015 /home/runner/work/RAGKET/RAGKET/topinit.py:230(run_command)
10 0.000 0.000 0.124 0.012 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1175(communicate)
10 0.000 0.000 0.123 0.012 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:2069(_communicate)
10 0.000 0.000 0.122 0.012 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:385(select)
10 0.122 0.012 0.122 0.012 {method 'poll' of 'select.poll' objects}
10 0.000 0.000 0.022 0.002 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:814(init)
10 0.001 0.000 0.021 0.002 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1802(_execute_child)
30 0.013 0.000 0.013 0.000 {built-in method posix.read}
10 0.006 0.001 0.006 0.001 {built-in method _posixsubprocess.fork_exec}
10 0.000 0.000 0.001 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1292(_close_pipe_fds)
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:534(callback)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1698(_get_handles)
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:340(register)
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:238(register)
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1269(wait)
20 0.000 0.000 0.000 0.000 {method 'close' of '_io.BufferedReader' objects}
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:2028(_wait)
40 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:219(_fileobj_lookup)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/logging/init.py:245(_afterFork)
20 0.000 0.000 0.000 0.000 :176(dirname)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:571(exit)
30 0.000 0.000 0.000 0.000 {built-in method posix.pipe}
40 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:21(_fileobj_to_fd)
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:479(_create_cb_wrapper)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:485(init)
20 0.000 0.000 0.000 0.000 {built-in method _io.open}
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:336(init)
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:351(unregister)
40 0.000 0.000 0.000 0.000 {built-in method builtins.print}
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:303(helper)
110 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
40 0.000 0.000 0.000 0.000 {built-in method posix.close}
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:251(unregister)
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:552(_push_exit_callback)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:2015(_try_wait)
20 0.000 0.000 0.000 0.000 :1()
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:108(init)
10 0.000 0.000 0.000 0.000 {built-in method posix.waitpid}
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:213(init)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:145(exit)
1 0.000 0.000 0.000 0.000 /home/runner/work/RAGKET/RAGKET/topinit.py:154(stop)
10 0.000 0.000 0.000 0.000 :117(instancecheck)
40 0.000 0.000 0.000 0.000 {method 'fileno' of '_io.BufferedReader' objects}
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1972(_handle_exitstatus)
20 0.000 0.000 0.000 0.000 {built-in method builtins.next}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:206(exit)
20 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
10 0.000 0.000 0.000 0.000 {method 'release' of '_thread.RLock' objects}
10 0.000 0.000 0.000 0.000 {built-in method _abc._abc_instancecheck}
20 0.000 0.000 0.000 0.000 {method 'register' of 'select.poll' objects}
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:272(close)
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:481(_exit_wrapper)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1130(del)
20 0.000 0.000 0.000 0.000 {built-in method time.monotonic}
50 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
10 0.000 0.000 0.000 0.000 :843(fsencode)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:136(enter)
10 0.000 0.000 0.000 0.000 {built-in method resource.setrlimit}
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/logging/init.py:231(_prepareFork)
20 0.000 0.000 0.000 0.000 :42(_get_sep)
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:66(len)
20 0.000 0.000 0.000 0.000 {method 'decode' of 'bytes' objects}
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:274(_cleanup)
10 0.000 0.000 0.000 0.000 {built-in method select.poll}
10 0.000 0.000 0.000 0.000 {built-in method builtins.sorted}
20 0.000 0.000 0.000 0.000 {built-in method new of type object at 0x7f95012d5b80}
40 0.000 0.000 0.000 0.000 {built-in method builtins.len}
20 0.000 0.000 0.000 0.000 {method 'append' of 'collections.deque' objects}
20 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 :121(subclasscheck)
20 0.000 0.000 0.000 0.000 {method 'extend' of 'list' objects}
10 0.000 0.000 0.000 0.000 {method 'acquire' of '_thread.RLock' objects}
20 0.000 0.000 0.000 0.000 {method 'unregister' of 'select.poll' objects}
20 0.000 0.000 0.000 0.000 {method 'join' of 'bytes' objects}
1 0.000 0.000 0.000 0.000 {built-in method _abc._abc_subclasscheck}
10 0.000 0.000 0.000 0.000 {method 'count' of 'list' objects}
20 0.000 0.000 0.000 0.000 {method 'pop' of 'dict' objects}
10 0.000 0.000 0.000 0.000 {method 'rfind' of 'bytes' objects}
30 0.000 0.000 0.000 0.000 {built-in method posix.fspath}
10 0.000 0.000 0.000 0.000 {method 'encode' of 'str' objects}
10 0.000 0.000 0.000 0.000 {method 'rfind' of 'str' objects}
20 0.000 0.000 0.000 0.000 {method 'pop' of 'collections.deque' objects}
30 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1249(_remaining_time)
10 0.000 0.000 0.000 0.000 {built-in method builtins.min}
10 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
10 0.000 0.000 0.000 0.000 {method 'rstrip' of 'str' objects}
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1321(_on_error_fd_closer)
10 0.000 0.000 0.000 0.000 {method 'clear' of 'dict' objects}
10 0.000 0.000 0.000 0.000 {method 'rstrip' of 'bytes' objects}
1 0.000 0.000 0.000 0.000 :1126(subclasshook)
20 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:276(get_map)
10 0.000 0.000 0.000 0.000 {method 'exit' of '_thread.lock' objects}
10 0.000 0.000 0.000 0.000 {built-in method sys.exception}
10 0.000 0.000 0.000 0.000 {method 'add' of 'set' objects}
10 0.000 0.000 0.000 0.000 {built-in method posix.WIFSTOPPED}
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:63(init)
10 0.000 0.000 0.000 0.000 {built-in method sys.audit}
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:2171(_save_input)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1981(_internal_poll)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/subprocess.py:1257(_check_timeout)
10 0.000 0.000 0.000 0.000 {built-in method posix.waitstatus_to_exitcode}
1 0.000 0.000 0.000 0.000 :108(_check_methods)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:568(enter)
10 0.000 0.000 0.000 0.000 /opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/selectors.py:203(enter)

STDOUT:
STDERR:
STATUS: 0


Benchmark Report:
Command: python3 ./src/init.py
Best time: 0.014s over 10 iterations

Please sign in to comment.