Skip to content

Commit f0ecae6

Browse files
committed
updated readme
1 parent afe6f3e commit f0ecae6

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
Make multi-threaded concurrency backward- and forward-compatible for the free-threaded future of Python.
44

5+
|Interpreter |Threading |Duration|
6+
|------------|------------------------------|--------|
7+
|python3.14t |None |0.577 |
8+
|python3.14t |ThreadPoolExecutor |0.34 |
9+
|python3.14t |ConditionalThreadPoolExecutor |0.339 |
10+
|python3.14 |None |0.544 |
11+
|python3.14 |ThreadPoolExecutor |2.231 |
12+
|python3.14 |ConditionalThreadPoolExecutor |0.532 |
513

614
### Introduction
715

performance/table.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import static_frame as sf
2+
3+
if __name__ == '__main__':
4+
f = sf.Frame.from_records([
5+
['python3.14t', 'None', 0.577],
6+
['python3.14t', 'ThreadPoolExecutor', 0.340],
7+
['python3.14t', 'ConditionalThreadPoolExecutor', 0.339],
8+
['python3.14', 'None', 0.544],
9+
['python3.14', 'ThreadPoolExecutor', 2.231],
10+
['python3.14', 'ConditionalThreadPoolExecutor', 0.532],
11+
],
12+
columns=['Interpreter', 'Threading', 'Duration'],
13+
)
14+
15+
16+
config = sf.DisplayConfig(
17+
type_color=False,
18+
type_show=False,
19+
include_index=False,
20+
cell_max_width=100.
21+
)
22+
23+
print(f.to_markdown(config))

0 commit comments

Comments
 (0)