Skip to content

Commit 2345fbb

Browse files
committed
v3.0.0-rc5
1 parent eab9b53 commit 2345fbb

File tree

8 files changed

+231
-94
lines changed

8 files changed

+231
-94
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rnet"
3-
version = "3.0.0-rc3"
3+
version = "3.0.0-rc5"
44
description = "A blazing-fast Python HTTP client with TLS fingerprint"
55
license = "Apache-2.0"
66
repository = "https://github.com/0x676e67/rnet"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ A blazing-fast Python HTTP client with advanced browser fingerprinting that accu
3232
The following example uses the `asyncio` runtime with `rnet` installed via pip:
3333

3434
```bash
35-
pip install asyncio rnet==3.0.0rc3
35+
pip install asyncio rnet==3.0.0rc5
3636
```
3737

3838
And then the code:

python/benchmark/bench.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,43 +24,43 @@ def parse_arguments():
2424
"""Parse command line arguments"""
2525
parser = argparse.ArgumentParser(
2626
description="HTTP Client Benchmark Tool",
27-
formatter_class=argparse.ArgumentDefaultsHelpFormatter
27+
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
2828
)
2929

3030
parser.add_argument(
31-
"--requests", "-r",
32-
type=int,
33-
default=400,
34-
help="Number of requests per test"
31+
"--requests", "-r", type=int, default=400, help="Number of requests per test"
3532
)
3633

3734
parser.add_argument(
38-
"--threads", "-t",
35+
"--threads",
36+
"-t",
3937
type=int,
4038
nargs="+",
4139
default=[1, 4, 8, 16],
42-
help="Thread counts to test (e.g., --threads 1 2 4 8)"
40+
help="Thread counts to test (e.g., --threads 1 2 4 8)",
4341
)
4442

4543
parser.add_argument(
46-
"--output", "-o",
44+
"--output",
45+
"-o",
4746
type=str,
4847
default="benchmark_results.csv",
49-
help="Output CSV file name"
48+
help="Output CSV file name",
5049
)
5150

5251
parser.add_argument(
53-
"--chart", "-c",
52+
"--chart",
53+
"-c",
5454
type=str,
5555
default="benchmark_multi.jpg",
56-
help="Output chart file name"
56+
help="Output chart file name",
5757
)
5858

5959
parser.add_argument(
6060
"--base-url",
6161
type=str,
6262
default="http://127.0.0.1:8000",
63-
help="Base URL for the benchmark server"
63+
help="Base URL for the benchmark server",
6464
)
6565

6666
return parser.parse_args()
-2.49 KB
Loading
445 KB
Loading
Lines changed: 203 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,235 @@
11
name,session,size,time,cpu_time,threads
2-
tls_client 1.0.1,Sync-Session,20k,0.28,0.26,
2+
tls_client 1.0.1,Sync-Session,20k,0.28,0.27,
33
tls_client 1.0.1,Sync-NonSession,20k,0.42,0.41,
4-
httpx 0.28.1,Sync-Session,20k,0.22,0.14,
5-
httpx 0.28.1,Sync-NonSession,20k,5.54,5.34,
4+
httpx 0.28.1,Sync-Session,20k,0.22,0.13,
5+
httpx 0.28.1,Sync-NonSession,20k,5.41,5.22,
66
requests 2.32.5,Sync-Session,20k,0.23,0.15,
77
requests 2.32.5,Sync-NonSession,20k,0.34,0.24,
88
niquests 3.15.2,Sync-Session,20k,0.18,0.11,
9-
niquests 3.15.2,Sync-NonSession,20k,0.3,0.21,
9+
niquests 3.15.2,Sync-NonSession,20k,0.3,0.2,
1010
rnet 3.0.0rc3,Sync-Session,20k,0.08,0.02,
1111
rnet 3.0.0rc3,Sync-NonSession,20k,0.13,0.07,
12-
curl_cffi 0.13.0,Sync-Session,20k,0.13,0.07,
13-
curl_cffi 0.13.0,Sync-NonSession,20k,0.2,0.11,
12+
curl_cffi 0.13.0,Sync-Session,20k,0.13,0.06,
13+
curl_cffi 0.13.0,Sync-NonSession,20k,0.19,0.1,
1414
pycurl 7.45.6,Sync-Session,20k,0.08,0.02,
1515
pycurl 7.45.6,Sync-NonSession,20k,0.14,0.05,
16-
httpx 0.28.1,Async-Session,20k,1.83,1.82,
17-
httpx 0.28.1,Async-NonSession,20k,5.67,5.46,
16+
httpx 0.28.1,Async-Session,20k,1.82,1.82,
17+
httpx 0.28.1,Async-NonSession,20k,5.59,5.38,
1818
aiohttp 3.12.15,Async-Session,20k,0.04,0.04,
1919
aiohttp 3.12.15,Async-NonSession,20k,0.2,0.09,
20-
rnet 3.0.0rc3,Async-Session,20k,0.03,0.1,
21-
rnet 3.0.0rc3,Async-NonSession,20k,0.16,0.09,
20+
rnet 3.0.0rc3,Async-Session,20k,0.03,0.09,
21+
rnet 3.0.0rc3,Async-NonSession,20k,0.17,0.09,
2222
curl_cffi 0.13.0,Async-Session,20k,0.09,0.09,
23-
curl_cffi 0.13.0,Async-NonSession,20k,0.24,0.14,
24-
tls_client 1.0.1,Threaded-Session,20k,0.28,0.28,1.0
23+
curl_cffi 0.13.0,Async-NonSession,20k,0.24,0.15,
24+
tls_client 1.0.1,Threaded-Session,20k,0.29,0.28,1.0
2525
tls_client 1.0.1,Threaded-NonSession,20k,0.43,0.43,1.0
26-
httpx 0.28.1,Threaded-Session,20k,0.2,0.12,1.0
27-
httpx 0.28.1,Threaded-NonSession,20k,5.54,5.34,1.0
26+
httpx 0.28.1,Threaded-Session,20k,0.19,0.11,1.0
27+
httpx 0.28.1,Threaded-NonSession,20k,5.47,5.27,1.0
2828
requests 2.32.5,Threaded-Session,20k,0.23,0.15,1.0
29-
requests 2.32.5,Threaded-NonSession,20k,0.35,0.24,1.0
30-
niquests 3.15.2,Threaded-Session,20k,0.19,0.12,1.0
31-
niquests 3.15.2,Threaded-NonSession,20k,0.31,0.21,1.0
32-
rnet 3.0.0rc3,Threaded-Session,20k,0.07,0.02,1.0
29+
requests 2.32.5,Threaded-NonSession,20k,0.34,0.24,1.0
30+
niquests 3.15.2,Threaded-Session,20k,0.18,0.11,1.0
31+
niquests 3.15.2,Threaded-NonSession,20k,0.3,0.21,1.0
32+
rnet 3.0.0rc3,Threaded-Session,20k,0.08,0.02,1.0
3333
rnet 3.0.0rc3,Threaded-NonSession,20k,0.13,0.07,1.0
3434
curl_cffi 0.13.0,Threaded-Session,20k,0.13,0.07,1.0
3535
curl_cffi 0.13.0,Threaded-NonSession,20k,0.19,0.1,1.0
3636
pycurl 7.45.6,Threaded-Session,20k,0.08,0.02,1.0
37-
pycurl 7.45.6,Threaded-NonSession,20k,0.15,0.05,1.0
38-
tls_client 1.0.1,Sync-Session,50k,0.61,0.68,
39-
tls_client 1.0.1,Sync-NonSession,50k,0.77,0.87,
40-
httpx 0.28.1,Sync-Session,50k,0.27,0.18,
41-
httpx 0.28.1,Sync-NonSession,50k,5.65,5.45,
42-
requests 2.32.5,Sync-Session,50k,0.31,0.23,
43-
requests 2.32.5,Sync-NonSession,50k,0.44,0.33,
44-
niquests 3.15.2,Sync-Session,50k,0.25,0.18,
45-
niquests 3.15.2,Sync-NonSession,50k,0.39,0.29,
37+
pycurl 7.45.6,Threaded-NonSession,20k,0.14,0.05,1.0
38+
tls_client 1.0.1,Threaded-Session,20k,0.15,0.41,4.0
39+
tls_client 1.0.1,Threaded-NonSession,20k,0.24,0.55,4.0
40+
httpx 0.28.1,Threaded-Session,20k,0.2,0.42,4.0
41+
httpx 0.28.1,Threaded-NonSession,20k,6.47,25.29,4.0
42+
requests 2.32.5,Threaded-Session,20k,0.18,0.2,4.0
43+
requests 2.32.5,Threaded-NonSession,20k,0.28,0.34,4.0
44+
niquests 3.15.2,Threaded-Session,20k,0.14,0.15,4.0
45+
niquests 3.15.2,Threaded-NonSession,20k,0.27,0.32,4.0
46+
rnet 3.0.0rc3,Threaded-Session,20k,0.03,0.02,4.0
47+
rnet 3.0.0rc3,Threaded-NonSession,20k,0.05,0.07,4.0
48+
curl_cffi 0.13.0,Threaded-Session,20k,0.1,0.14,4.0
49+
curl_cffi 0.13.0,Threaded-NonSession,20k,0.11,0.19,4.0
50+
pycurl 7.45.6,Threaded-Session,20k,0.03,0.02,4.0
51+
pycurl 7.45.6,Threaded-NonSession,20k,0.05,0.07,4.0
52+
tls_client 1.0.1,Threaded-Session,20k,0.16,0.47,8.0
53+
tls_client 1.0.1,Threaded-NonSession,20k,0.2,0.64,8.0
54+
httpx 0.28.1,Threaded-Session,20k,0.38,2.17,8.0
55+
httpx 0.28.1,Threaded-NonSession,20k,17.38,135.54,8.0
56+
requests 2.32.5,Threaded-Session,20k,0.18,0.21,8.0
57+
requests 2.32.5,Threaded-NonSession,20k,0.29,0.35,8.0
58+
niquests 3.15.2,Threaded-Session,20k,0.14,0.16,8.0
59+
niquests 3.15.2,Threaded-NonSession,20k,0.26,0.31,8.0
60+
rnet 3.0.0rc3,Threaded-Session,20k,0.02,0.03,8.0
61+
rnet 3.0.0rc3,Threaded-NonSession,20k,0.04,0.07,8.0
62+
curl_cffi 0.13.0,Threaded-Session,20k,0.13,0.24,8.0
63+
curl_cffi 0.13.0,Threaded-NonSession,20k,0.15,0.32,8.0
64+
pycurl 7.45.6,Threaded-Session,20k,0.02,0.03,8.0
65+
pycurl 7.45.6,Threaded-NonSession,20k,0.03,0.08,8.0
66+
tls_client 1.0.1,Threaded-Session,20k,0.16,0.53,16.0
67+
tls_client 1.0.1,Threaded-NonSession,20k,0.18,0.69,16.0
68+
httpx 0.28.1,Threaded-Session,20k,2.47,37.42,16.0
69+
httpx 0.28.1,Threaded-NonSession,20k,61.42,972.61,16.0
70+
requests 2.32.5,Threaded-Session,20k,0.19,0.22,16.0
71+
requests 2.32.5,Threaded-NonSession,20k,0.3,0.37,16.0
72+
niquests 3.15.2,Threaded-Session,20k,0.15,0.17,16.0
73+
niquests 3.15.2,Threaded-NonSession,20k,0.29,0.34,16.0
74+
rnet 3.0.0rc3,Threaded-Session,20k,0.02,0.03,16.0
75+
rnet 3.0.0rc3,Threaded-NonSession,20k,0.04,0.07,16.0
76+
curl_cffi 0.13.0,Threaded-Session,20k,0.13,0.25,16.0
77+
curl_cffi 0.13.0,Threaded-NonSession,20k,0.15,0.34,16.0
78+
pycurl 7.45.6,Threaded-Session,20k,0.02,0.04,16.0
79+
pycurl 7.45.6,Threaded-NonSession,20k,0.03,0.15,16.0
80+
tls_client 1.0.1,Sync-Session,50k,0.65,0.77,
81+
tls_client 1.0.1,Sync-NonSession,50k,0.8,0.92,
82+
httpx 0.28.1,Sync-Session,50k,0.28,0.19,
83+
httpx 0.28.1,Sync-NonSession,50k,5.64,5.44,
84+
requests 2.32.5,Sync-Session,50k,0.33,0.24,
85+
requests 2.32.5,Sync-NonSession,50k,0.45,0.34,
86+
niquests 3.15.2,Sync-Session,50k,0.27,0.19,
87+
niquests 3.15.2,Sync-NonSession,50k,0.41,0.31,
4688
rnet 3.0.0rc3,Sync-Session,50k,0.15,0.07,
47-
rnet 3.0.0rc3,Sync-NonSession,50k,0.15,0.07,
48-
curl_cffi 0.13.0,Sync-Session,50k,0.22,0.14,
49-
curl_cffi 0.13.0,Sync-NonSession,50k,0.31,0.18,
50-
pycurl 7.45.6,Sync-Session,50k,0.09,0.02,
89+
rnet 3.0.0rc3,Sync-NonSession,50k,0.16,0.07,
90+
curl_cffi 0.13.0,Sync-Session,50k,0.23,0.15,
91+
curl_cffi 0.13.0,Sync-NonSession,50k,0.31,0.19,
92+
pycurl 7.45.6,Sync-Session,50k,0.08,0.02,
5193
pycurl 7.45.6,Sync-NonSession,50k,0.15,0.06,
52-
httpx 0.28.1,Async-Session,50k,1.93,1.92,
53-
httpx 0.28.1,Async-NonSession,50k,5.81,5.59,
54-
aiohttp 3.12.15,Async-Session,50k,0.04,0.04,
55-
aiohttp 3.12.15,Async-NonSession,50k,0.22,0.1,
94+
httpx 0.28.1,Async-Session,50k,1.94,1.93,
95+
httpx 0.28.1,Async-NonSession,50k,5.82,5.6,
96+
aiohttp 3.12.15,Async-Session,50k,0.03,0.03,
97+
aiohttp 3.12.15,Async-NonSession,50k,0.21,0.1,
5698
rnet 3.0.0rc3,Async-Session,50k,0.04,0.12,
5799
rnet 3.0.0rc3,Async-NonSession,50k,0.17,0.08,
58-
curl_cffi 0.13.0,Async-Session,50k,0.18,0.18,
100+
curl_cffi 0.13.0,Async-Session,50k,0.19,0.18,
59101
curl_cffi 0.13.0,Async-NonSession,50k,0.35,0.23,
60-
tls_client 1.0.1,Threaded-Session,50k,0.67,0.75,1.0
61-
tls_client 1.0.1,Threaded-NonSession,50k,0.78,0.88,1.0
62-
httpx 0.28.1,Threaded-Session,50k,0.27,0.19,1.0
63-
httpx 0.28.1,Threaded-NonSession,50k,5.68,5.47,1.0
64-
requests 2.32.5,Threaded-Session,50k,0.33,0.25,1.0
65-
requests 2.32.5,Threaded-NonSession,50k,0.46,0.35,1.0
102+
tls_client 1.0.1,Threaded-Session,50k,0.66,0.76,1.0
103+
tls_client 1.0.1,Threaded-NonSession,50k,0.81,0.93,1.0
104+
httpx 0.28.1,Threaded-Session,50k,0.29,0.2,1.0
105+
httpx 0.28.1,Threaded-NonSession,50k,5.65,5.44,1.0
106+
requests 2.32.5,Threaded-Session,50k,0.32,0.24,1.0
107+
requests 2.32.5,Threaded-NonSession,50k,0.45,0.35,1.0
66108
niquests 3.15.2,Threaded-Session,50k,0.27,0.2,1.0
67-
niquests 3.15.2,Threaded-NonSession,50k,0.41,0.31,1.0
109+
niquests 3.15.2,Threaded-NonSession,50k,0.4,0.31,1.0
68110
rnet 3.0.0rc3,Threaded-Session,50k,0.15,0.07,1.0
69111
rnet 3.0.0rc3,Threaded-NonSession,50k,0.15,0.07,1.0
70112
curl_cffi 0.13.0,Threaded-Session,50k,0.23,0.14,1.0
71113
curl_cffi 0.13.0,Threaded-NonSession,50k,0.32,0.19,1.0
72114
pycurl 7.45.6,Threaded-Session,50k,0.09,0.02,1.0
73115
pycurl 7.45.6,Threaded-NonSession,50k,0.15,0.06,1.0
74-
tls_client 1.0.1,Sync-Session,200k,2.25,2.61,
75-
tls_client 1.0.1,Sync-NonSession,200k,2.42,2.73,
76-
httpx 0.28.1,Sync-Session,200k,0.68,0.6,
77-
httpx 0.28.1,Sync-NonSession,200k,6.15,5.95,
78-
requests 2.32.5,Sync-Session,200k,0.81,0.72,
79-
requests 2.32.5,Sync-NonSession,200k,0.93,0.82,
80-
niquests 3.15.2,Sync-Session,200k,0.68,0.6,
81-
niquests 3.15.2,Sync-NonSession,200k,0.83,0.73,
82-
rnet 3.0.0rc3,Sync-Session,200k,0.15,0.07,
83-
rnet 3.0.0rc3,Sync-NonSession,200k,0.13,0.07,
84-
curl_cffi 0.13.0,Sync-Session,200k,0.61,0.52,
85-
curl_cffi 0.13.0,Sync-NonSession,200k,0.72,0.58,
86-
pycurl 7.45.6,Sync-Session,200k,0.1,0.03,
87-
pycurl 7.45.6,Sync-NonSession,200k,0.17,0.08,
88-
httpx 0.28.1,Async-Session,200k,2.41,2.4,
89-
httpx 0.28.1,Async-NonSession,200k,6.31,6.07,
90-
aiohttp 3.12.15,Async-Session,200k,0.04,0.04,
91-
aiohttp 3.12.15,Async-NonSession,200k,0.24,0.13,
92-
rnet 3.0.0rc3,Async-Session,200k,0.06,0.16,
93-
rnet 3.0.0rc3,Async-NonSession,200k,0.18,0.09,
94-
curl_cffi 0.13.0,Async-Session,200k,0.63,0.63,
95-
curl_cffi 0.13.0,Async-NonSession,200k,0.79,0.65,
96-
tls_client 1.0.1,Threaded-Session,200k,2.39,2.72,1.0
97-
tls_client 1.0.1,Threaded-NonSession,200k,2.56,2.89,1.0
98-
httpx 0.28.1,Threaded-Session,200k,0.69,0.61,1.0
99-
httpx 0.28.1,Threaded-NonSession,200k,6.2,5.99,1.0
100-
requests 2.32.5,Threaded-Session,200k,0.9,0.81,1.0
101-
requests 2.32.5,Threaded-NonSession,200k,1.03,0.92,1.0
102-
niquests 3.15.2,Threaded-Session,200k,0.74,0.66,1.0
103-
niquests 3.15.2,Threaded-NonSession,200k,0.89,0.79,1.0
116+
tls_client 1.0.1,Threaded-Session,50k,0.36,0.89,4.0
117+
tls_client 1.0.1,Threaded-NonSession,50k,0.51,1.0,4.0
118+
httpx 0.28.1,Threaded-Session,50k,0.28,0.5,4.0
119+
httpx 0.28.1,Threaded-NonSession,50k,6.57,25.41,4.0
120+
requests 2.32.5,Threaded-Session,50k,0.3,0.32,4.0
121+
requests 2.32.5,Threaded-NonSession,50k,0.41,0.47,4.0
122+
niquests 3.15.2,Threaded-Session,50k,0.23,0.25,4.0
123+
niquests 3.15.2,Threaded-NonSession,50k,0.36,0.41,4.0
124+
rnet 3.0.0rc3,Threaded-Session,50k,0.06,0.06,4.0
125+
rnet 3.0.0rc3,Threaded-NonSession,50k,0.05,0.06,4.0
126+
curl_cffi 0.13.0,Threaded-Session,50k,0.2,0.26,4.0
127+
curl_cffi 0.13.0,Threaded-NonSession,50k,0.22,0.32,4.0
128+
pycurl 7.45.6,Threaded-Session,50k,0.04,0.02,4.0
129+
pycurl 7.45.6,Threaded-NonSession,50k,0.05,0.07,4.0
130+
tls_client 1.0.1,Threaded-Session,50k,0.36,0.93,8.0
131+
tls_client 1.0.1,Threaded-NonSession,50k,0.42,1.08,8.0
132+
httpx 0.28.1,Threaded-Session,50k,0.43,2.27,8.0
133+
httpx 0.28.1,Threaded-NonSession,50k,18.19,142.01,8.0
134+
requests 2.32.5,Threaded-Session,50k,0.3,0.33,8.0
135+
requests 2.32.5,Threaded-NonSession,50k,0.41,0.48,8.0
136+
niquests 3.15.2,Threaded-Session,50k,0.25,0.27,8.0
137+
niquests 3.15.2,Threaded-NonSession,50k,0.37,0.42,8.0
138+
rnet 3.0.0rc3,Threaded-Session,50k,0.04,0.06,8.0
139+
rnet 3.0.0rc3,Threaded-NonSession,50k,0.03,0.07,8.0
140+
curl_cffi 0.13.0,Threaded-Session,50k,0.22,0.33,8.0
141+
curl_cffi 0.13.0,Threaded-NonSession,50k,0.26,0.43,8.0
142+
pycurl 7.45.6,Threaded-Session,50k,0.02,0.04,8.0
143+
pycurl 7.45.6,Threaded-NonSession,50k,0.04,0.09,8.0
144+
tls_client 1.0.1,Threaded-Session,50k,0.37,0.99,16.0
145+
tls_client 1.0.1,Threaded-NonSession,50k,0.39,1.11,16.0
146+
httpx 0.28.1,Threaded-Session,50k,2.47,36.4,16.0
147+
httpx 0.28.1,Threaded-NonSession,50k,61.66,976.62,16.0
148+
requests 2.32.5,Threaded-Session,50k,0.31,0.34,16.0
149+
requests 2.32.5,Threaded-NonSession,50k,0.43,0.49,16.0
150+
niquests 3.15.2,Threaded-Session,50k,0.25,0.27,16.0
151+
niquests 3.15.2,Threaded-NonSession,50k,0.4,0.47,16.0
152+
rnet 3.0.0rc3,Threaded-Session,50k,0.04,0.07,16.0
153+
rnet 3.0.0rc3,Threaded-NonSession,50k,0.02,0.08,16.0
154+
curl_cffi 0.13.0,Threaded-Session,50k,0.23,0.35,16.0
155+
curl_cffi 0.13.0,Threaded-NonSession,50k,0.26,0.44,16.0
156+
pycurl 7.45.6,Threaded-Session,50k,0.02,0.07,16.0
157+
pycurl 7.45.6,Threaded-NonSession,50k,0.04,0.14,16.0
158+
tls_client 1.0.1,Sync-Session,200k,2.35,2.78,
159+
tls_client 1.0.1,Sync-NonSession,200k,2.53,3.0,
160+
httpx 0.28.1,Sync-Session,200k,0.72,0.64,
161+
httpx 0.28.1,Sync-NonSession,200k,6.11,5.91,
162+
requests 2.32.5,Sync-Session,200k,0.88,0.78,
163+
requests 2.32.5,Sync-NonSession,200k,0.98,0.86,
164+
niquests 3.15.2,Sync-Session,200k,0.71,0.64,
165+
niquests 3.15.2,Sync-NonSession,200k,0.87,0.78,
166+
rnet 3.0.0rc3,Sync-Session,200k,0.16,0.07,
167+
rnet 3.0.0rc3,Sync-NonSession,200k,0.16,0.08,
168+
curl_cffi 0.13.0,Sync-Session,200k,0.65,0.57,
169+
curl_cffi 0.13.0,Sync-NonSession,200k,0.76,0.63,
170+
pycurl 7.45.6,Sync-Session,200k,0.11,0.04,
171+
pycurl 7.45.6,Sync-NonSession,200k,0.18,0.09,
172+
httpx 0.28.1,Async-Session,200k,2.43,2.42,
173+
httpx 0.28.1,Async-NonSession,200k,6.31,6.09,
174+
aiohttp 3.12.15,Async-Session,200k,0.07,0.07,
175+
aiohttp 3.12.15,Async-NonSession,200k,0.29,0.15,
176+
rnet 3.0.0rc3,Async-Session,200k,0.07,0.16,
177+
rnet 3.0.0rc3,Async-NonSession,200k,0.18,0.1,
178+
curl_cffi 0.13.0,Async-Session,200k,0.62,0.62,
179+
curl_cffi 0.13.0,Async-NonSession,200k,0.86,0.72,
180+
tls_client 1.0.1,Threaded-Session,200k,2.47,2.83,1.0
181+
tls_client 1.0.1,Threaded-NonSession,200k,2.66,3.09,1.0
182+
httpx 0.28.1,Threaded-Session,200k,0.73,0.64,1.0
183+
httpx 0.28.1,Threaded-NonSession,200k,6.17,5.97,1.0
184+
requests 2.32.5,Threaded-Session,200k,1.05,0.96,1.0
185+
requests 2.32.5,Threaded-NonSession,200k,1.16,1.05,1.0
186+
niquests 3.15.2,Threaded-Session,200k,0.83,0.75,1.0
187+
niquests 3.15.2,Threaded-NonSession,200k,0.96,0.85,1.0
104188
rnet 3.0.0rc3,Threaded-Session,200k,0.15,0.07,1.0
105-
rnet 3.0.0rc3,Threaded-NonSession,200k,0.15,0.07,1.0
106-
curl_cffi 0.13.0,Threaded-Session,200k,0.65,0.55,1.0
107-
curl_cffi 0.13.0,Threaded-NonSession,200k,0.74,0.61,1.0
189+
rnet 3.0.0rc3,Threaded-NonSession,200k,0.16,0.07,1.0
190+
curl_cffi 0.13.0,Threaded-Session,200k,0.66,0.57,1.0
191+
curl_cffi 0.13.0,Threaded-NonSession,200k,0.77,0.64,1.0
108192
pycurl 7.45.6,Threaded-Session,200k,0.12,0.04,1.0
109-
pycurl 7.45.6,Threaded-NonSession,200k,0.21,0.1,1.0
193+
pycurl 7.45.6,Threaded-NonSession,200k,0.2,0.11,1.0
194+
tls_client 1.0.1,Threaded-Session,200k,1.39,2.98,4.0
195+
tls_client 1.0.1,Threaded-NonSession,200k,1.7,2.96,4.0
196+
httpx 0.28.1,Threaded-Session,200k,0.77,1.01,4.0
197+
httpx 0.28.1,Threaded-NonSession,200k,6.31,24.1,4.0
198+
requests 2.32.5,Threaded-Session,200k,0.92,0.94,4.0
199+
requests 2.32.5,Threaded-NonSession,200k,1.08,1.14,4.0
200+
niquests 3.15.2,Threaded-Session,200k,0.76,0.78,4.0
201+
niquests 3.15.2,Threaded-NonSession,200k,0.9,0.96,4.0
202+
rnet 3.0.0rc3,Threaded-Session,200k,0.06,0.06,4.0
203+
rnet 3.0.0rc3,Threaded-NonSession,200k,0.05,0.06,4.0
204+
curl_cffi 0.13.0,Threaded-Session,200k,0.67,0.74,4.0
205+
curl_cffi 0.13.0,Threaded-NonSession,200k,0.68,0.81,4.0
206+
pycurl 7.45.6,Threaded-Session,200k,0.05,0.05,4.0
207+
pycurl 7.45.6,Threaded-NonSession,200k,0.1,0.13,4.0
208+
tls_client 1.0.1,Threaded-Session,200k,1.37,3.06,8.0
209+
tls_client 1.0.1,Threaded-NonSession,200k,1.47,3.07,8.0
210+
httpx 0.28.1,Threaded-Session,200k,0.82,2.71,8.0
211+
httpx 0.28.1,Threaded-NonSession,200k,16.52,125.46,8.0
212+
requests 2.32.5,Threaded-Session,200k,0.82,0.85,8.0
213+
requests 2.32.5,Threaded-NonSession,200k,0.97,1.03,8.0
214+
niquests 3.15.2,Threaded-Session,200k,0.73,0.75,8.0
215+
niquests 3.15.2,Threaded-NonSession,200k,0.93,0.99,8.0
216+
rnet 3.0.0rc3,Threaded-Session,200k,0.05,0.06,8.0
217+
rnet 3.0.0rc3,Threaded-NonSession,200k,0.03,0.07,8.0
218+
curl_cffi 0.13.0,Threaded-Session,200k,0.72,0.84,8.0
219+
curl_cffi 0.13.0,Threaded-NonSession,200k,0.78,0.96,8.0
220+
pycurl 7.45.6,Threaded-Session,200k,0.07,0.11,8.0
221+
pycurl 7.45.6,Threaded-NonSession,200k,0.12,0.22,8.0
222+
tls_client 1.0.1,Threaded-Session,200k,1.41,3.21,16.0
223+
tls_client 1.0.1,Threaded-NonSession,200k,1.42,3.15,16.0
224+
httpx 0.28.1,Threaded-Session,200k,2.87,36.2,16.0
225+
httpx 0.28.1,Threaded-NonSession,200k,60.28,950.42,16.0
226+
requests 2.32.5,Threaded-Session,200k,0.91,0.95,16.0
227+
requests 2.32.5,Threaded-NonSession,200k,1.06,1.14,16.0
228+
niquests 3.15.2,Threaded-Session,200k,0.76,0.79,16.0
229+
niquests 3.15.2,Threaded-NonSession,200k,0.93,1.01,16.0
230+
rnet 3.0.0rc3,Threaded-Session,200k,0.05,0.07,16.0
231+
rnet 3.0.0rc3,Threaded-NonSession,200k,0.03,0.07,16.0
232+
curl_cffi 0.13.0,Threaded-Session,200k,0.7,0.85,16.0
233+
curl_cffi 0.13.0,Threaded-NonSession,200k,0.75,0.96,16.0
234+
pycurl 7.45.6,Threaded-Session,200k,0.06,0.14,16.0
235+
pycurl 7.45.6,Threaded-NonSession,200k,0.11,0.25,16.0

python/rnet/__init__.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ from typing import (
1010
Dict,
1111
List,
1212
TypedDict,
13+
Unpack,
14+
NotRequired,
1315
)
1416
from pathlib import Path
1517
from enum import Enum, auto
16-
from typing import Unpack, NotRequired
1718

1819
from .cookie import Cookie, Jar
1920
from .header import HeaderMap, OrigHeaderMap

0 commit comments

Comments
 (0)