-
Python, 但Restrain是不同的。
我把Restrain的特性称为 “CPython Compatible”
Working With Existing And Prospective C-Extensions
兼容C extensions, 尽管不能优化, 但可以做到调用的开销尽可能接近CPython 版本
# Keeping The Same Semantics As The Original
0 码力 |
30 页 |
8.04 MB
| 2 年前 3
-
## Python for Good >>> PyCon China 2022
大规模生产环境下的
Faster-CPython
主讲人:王文洋

HELLO WORLD
 five. We aim to do this in four distinct stages, each stage increasing the speed of CPython by (approximately) (approximately) 50%.
$$ 1.5**4\approx5 $$
Each stage will be targeted at a separate release of CPython. A faster schedule is possible, but we believe that predictable and reliable performance improvements
0 码力 |
31 页 |
2.47 MB
| 2 年前 3
-
responses
• Straightforward exception handling
• Snappy testing with WSGI/ASGI helpers and mocks
• CPython 3.5+ and PyPy 3.5+ support
## Who’s Using Falcon?
Falcon is used around the world by a growing Apache 2.0
- Falcon License
- Installation
- PyPy
- CPython
- Dependencies
- WSGI Server
- ASGI Server
different?
• About Apache 2.0
• Falcon License
• Installation
• PyPy
• CPython
• Dependencies
• WSGI Server
• ASGI Server
• Source Code
• Quickstart
0 码力 |
540 页 |
476.61 KB
| 2 年前 3
-
responses
• Straightforward exception handling
• Snappy testing with WSGI/ASGI helpers and mocks
• CPython 3.5+ and PyPy 3.5+ support
## Who’s Using Falcon?
Falcon is used around the world by a growing Apache 2.0
- Falcon License
- Installation
- PyPy
- CPython
- Dependencies
- WSGI Server
- ASGI Server
different?
• About Apache 2.0
• Falcon License
• Installation
• PyPy
• CPython
• Dependencies
• WSGI Server
• ASGI Server
• Source Code
• Quickstart
0 码力 |
540 页 |
476.60 KB
| 2 年前 3
-
comprehensive test suite
• No dependencies on other Python packages
• Supports Python 2.7, 3.5+
• Compatible with PyPy
## Who's Using Falcon?
Falcon is used around the world by a growing number of organizations • Features
• About Apache 2.0
• Falcon License
• Installation
• PyPy
• CPython
• Dependencies
• WSGI Server
• Source Code
• Quickstart
• Learning by Example while remaining highly effective.
Falcon apps work with any WSGI server, and run like a champ under CPython 2.7/3.5+ and PyPy.
## How is Falcon different?
We designed Falcon to support the demanding needs
0 码力 |
265 页 |
299.57 KB
| 2 年前 3
-
colspan="2">Regular Expression Library Updated
Version 5.0 of the Perl Compatible Regular Expression Library. (PCRE) is now included. httpd can be configured to use a system installation codepage for filesystem access.
## Regular Expression Library Updated
Apache 2.0 includes the Perl Compatible Regular Expression Library (PCRE). All regular expression evaluation now uses the more powerful expression (regex) counterpart , , and that allow perl-compatible regular expressions to be used in choosing the matches. But see the section below on configuration 0 码力 |
1860 页 |
1.48 MB
| 1 年前 3 -
responses
• Straightforward exception handling
• Snappy testing with WSGI/ASGI helpers and mocks
• CPython 3.5+ and PyPy 3.5+ support
## Who’s Using Falcon?
Falcon is used around the world by a growing Apache 2.0
- Falcon License
- Installation
- PyPy
- CPython
- Dependencies
- WSGI Server
- ASGI Server
different?
• About Apache 2.0
• Falcon License
• Installation
• PyPy
• CPython
• Dependencies
• WSGI Server
• ASGI Server
• Source Code
• Quickstart 0 码力 |
537 页 |
474.34 KB
| 2 年前 3 -
responses
• Straightforward exception handling
• Snappy testing with WSGI/ASGI helpers and mocks
• CPython 3.5+ and PyPy 3.5+ support
## Who’s Using Falcon?
Falcon is used around the world by a growing Apache 2.0
- Falcon License
- Installation
- PyPy
- CPython
- Dependencies
- WSGI Server
- ASGI Server
different?
• About Apache 2.0
• Falcon License
• Installation
• PyPy
• CPython
• Dependencies
• WSGI Server
• ASGI Server
• Source Code
• Quickstart 0 码力 |
540 页 |
476.60 KB
| 2 年前 3 -
for frequently-changed codes
• faster-cpython
• Cinder (Facebook)
• Lazy Import
• nogil (FAIR)
## Faster CPython
CPython 3.11 is on average 25% faster than CPython 3.10 when measured with the pyperformance 164892ff27/p18_1.jpg)
Cinder is Meta's internal performance-oriented production version of CPython 3.10. It contains a number of performance optimizations, including bytecode inline caching, eager 0 码力 |
21 页 |
3.18 MB
| 2 年前 3 -
responses
• Straightforward exception handling
• Snappy testing with WSGI/ASGI helpers and mocks
• CPython 3.5+ and PyPy 3.5+ support
## WHO'S USING FALCON?
Falcon is used around the world by a growing while remaining highly effective.
Falcon apps work with any WSGI server, and run like a champ under CPython 3.5+ and PyPy 3.5+.
## Features
Falcon tries to do as little as possible while remaining highly responses
• Straightforward exception handling
• Snappy testing with WSGI/ASGI helpers and mocks
• CPython 3.5+ and PyPy 3.5+ support
## How is Falcon different?
We designed Falcon to support the demanding 0 码力 |
378 页 |
1.29 MB
| 2 年前 3
|