05. 李枫 用于 Linux 内核调试的 Python 11040804.pdf Source: https://www.slideshare.net/brendangregg/kernel-recipes-2017-performance-analysis-with-bpf Workflow o Source: ebpfbasics-190611051559.pdf 2.2 Source: ebpfbasics-190611051559.pdf Source: https://kernel-recipes.org/en/2017/talks/performance-analysis-with-bpf/ bpf() system call http://www.man7.org/linux/man-pages/man2/bpf.2.html Gregg, Linux Plumbers Conference 2019 III. LISA 1) Overview Linux Integrated System Analysis https://github.com/ARM-software/lisa o0 码力 | 63 页 | 4.07 MB | 1 年前3
Mypy 1.8.0 Documentationof legacy code There are tools for automatically adding draft annotations based on simple static analysis or on type profiles collected at runtime. Tools include MonkeyType, autotyping and PyAnnotate. a Note: The same will work with isinstance(x := a, float) as well. 1.11.4 Limitations Mypy’s analysis is limited to individual symbols and it will not track relationships between symbols. For example error whenever it encounters code determined to be unreachable or redundant after performing type analysis. This can be a helpful way of detecting certain kinds of bugs in your code. For example, enabling0 码力 | 234 页 | 902.89 KB | 1 年前3
PyConChina2022-深圳-大规模生产环境下的Faster CPython-王文洋should be specialised? Overhead Analysis For CPython Sources of performance overhead in CPython? • Mohamed Ismail and G Edward Suh. 2018. Quantitative overhead analysis for Python. In 2018 IEEE International Quantifying the interpretation overhead of Python. Science of Computer Programming 215 (2022). Overhead Analysis For CPython – opcodes execution Descriptions Opcodes name access Access the values corresponding BINARY_ADD、COMPARE_OP miscellany Others POP_TOP、END_FINALLY Overhead Analysis For CPython – language features Overhead Analysis For CPython – interpreter operations • Attributes(dictionary) caching0 码力 | 31 页 | 2.47 MB | 1 年前3
Mypy 1.10.0+dev Documentationof legacy code There are tools for automatically adding draft annotations based on simple static analysis or on type profiles collected at runtime. Tools include MonkeyType [https://monkeytype.readthedocs not touch a Note The same will work with isinstance(x := a, float) as well. Limitations Mypy’s analysis is limited to individual symbols and it will not track relationships between symbols. For example error whenever it encounters code determined to be unreachable or redundant after performing type analysis. This can be a helpful way of detecting certain kinds of bugs in your code. For example, enabling0 码力 | 318 页 | 270.84 KB | 1 年前3
Mypy 1.8.0 Documentationof legacy code There are tools for automatically adding draft annotations based on simple static analysis or on type profiles collected at runtime. Tools include MonkeyType [https://monkeytype.readthedocs not touch a Note The same will work with isinstance(x := a, float) as well. Limitations Mypy’s analysis is limited to individual symbols and it will not track relationships between symbols. For example error whenever it encounters code determined to be unreachable or redundant after performing type analysis. This can be a helpful way of detecting certain kinds of bugs in your code. For example, enabling0 码力 | 318 页 | 271.55 KB | 1 年前3
Mypy 1.10.0+dev Documentationof legacy code There are tools for automatically adding draft annotations based on simple static analysis or on type profiles collected at runtime. Tools include MonkeyType, autotyping and PyAnnotate. a Note: The same will work with isinstance(x := a, float) as well. 1.11.4 Limitations Mypy’s analysis is limited to individual symbols and it will not track relationships between symbols. For example error whenever it encounters code determined to be unreachable or redundant after performing type analysis. This can be a helpful way of detecting certain kinds of bugs in your code. For example, enabling0 码力 | 234 页 | 913.89 KB | 1 年前3
Objeet Oriented Python
TutorialProgramming (OOP) are Inheritance, Polymorphism, Abstraction, ad Encapsulation. Object Oriented Analysis(OOA) is the process of examining a problem, system or task and identifying the objects and interactions cross-platform IDE is one of the most popular IDE currently available. It provides coding assistance and analysis with code completion, project and code navigation, integrated unit testing, version control integration integration with Virtualenv, Docker and Vagrant Simple navigation and search features Code analysis and refactoring Configurable injections Supports tons of Python libraries Contains0 码力 | 111 页 | 3.32 MB | 1 年前3
9 盛泳潘 When Knowledge Graph meet Python Knowledge Graph oriented News Data Experiments – Evaluation measures Experiments – Performance analysis of our extraction approach Table 1: Evaluation of precision, recall, and F-score on five independent 5) from two datasets A Conceptual Knowledge Graph oriented News Data Experiments – Performance analysis of our extraction approach Table 1: Evaluation of precision, recall, and F-score on five independent independent document topics (including topic 6 to topic 10) from two datasets Experiments – Quality analysis of the conceptual knowledge graph A Conceptual Knowledge Graph oriented News Data A Conceptual0 码力 | 57 页 | 1.98 MB | 1 年前3
PyArmor Documentation v6.2.7lines in top level (no identation): a = Analysis(... pyz = PYZ(... And there are 3 key parameters when creating an Analysis object, for example: a = Analysis( ... pathex=..., hiddenimports= Add extra path DISTPATH/obf/temp to pathex and hookspath After changed, it may be like this: a = Analysis(['myscript.py'], pathex=[os.path.join(DISTPATH, 'obf', 'temp'), ...], binaries=[] with ; in the command line. And patch specfile hello.spec, insert the following lines after the Analysis object. The purpose is to replace all the original scripts with obfuscated ones: src = os.path0 码力 | 159 页 | 123.91 KB | 1 年前3
PyArmor Documentation v6.3.1lines in top level (no identation): a = Analysis(... pyz = PYZ(... And there are 3 key parameters when creating an Analysis object, for example: a = Analysis( ... pathex=..., hiddenimports= Add extra path DISTPATH/obf/temp to pathex and hookspath After changed, it may be like this: a = Analysis(['myscript.py'], pathex=[os.path.join(DISTPATH, 'obf', 'temp'), ...], binaries=[] with ; in the command line. And patch specfile hello.spec, insert the following lines after the Analysis object. The purpose is to replace all the original scripts with obfuscated ones: src = os.path0 码力 | 161 页 | 124.89 KB | 1 年前3
共 332 条
- 1
- 2
- 3
- 4
- 5
- 6
- 34













