Skip to content

Commit 17214bb

Browse files
committed
created doc page with explanation and differences in native vs compiled API
1 parent 2043710 commit 17214bb

6 files changed

Lines changed: 475 additions & 64 deletions
Lines changed: 43 additions & 0 deletions
Loading

docs/_static/native-backend-unification.svg

Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"generated_at": "2026-03-15T12:45:22.894671+00:00",
3+
"python": "/home/user/Documents/GitHub/openptv-python/.venv/bin/python",
4+
"command": [
5+
"/home/user/Documents/GitHub/openptv-python/.venv/bin/python",
6+
"-m",
7+
"pytest",
8+
"-q",
9+
"-s",
10+
"tests/test_native_stress_performance.py"
11+
],
12+
"results": [
13+
{
14+
"key": "sequence",
15+
"label": "Sequence params",
16+
"python_label": "python",
17+
"python_seconds": 2.8e-05,
18+
"native_seconds": 1e-05,
19+
"speedup": 2.86,
20+
"legacy_seconds": null,
21+
"compiled_vs_legacy": null
22+
},
23+
{
24+
"key": "preprocess",
25+
"label": "Preprocess image",
26+
"python_label": "python",
27+
"python_seconds": 2.190105,
28+
"native_seconds": 0.004607,
29+
"speedup": 475.37,
30+
"legacy_seconds": null,
31+
"compiled_vs_legacy": null
32+
},
33+
{
34+
"key": "segmentation",
35+
"label": "Segmentation",
36+
"python_label": "python+numba",
37+
"python_seconds": 0.005055,
38+
"native_seconds": 0.001317,
39+
"speedup": 3.84,
40+
"legacy_seconds": null,
41+
"compiled_vs_legacy": null
42+
},
43+
{
44+
"key": "stereomatching",
45+
"label": "Stereo matching",
46+
"python_label": "python",
47+
"python_seconds": 14.192568,
48+
"native_seconds": 0.002493,
49+
"speedup": 5693.37,
50+
"legacy_seconds": null,
51+
"compiled_vs_legacy": null
52+
},
53+
{
54+
"key": "reconstruction",
55+
"label": "Reconstruction",
56+
"python_label": "compiled-python",
57+
"python_seconds": 0.011528,
58+
"native_seconds": 0.004852,
59+
"speedup": 2.38,
60+
"legacy_seconds": 0.649974,
61+
"compiled_vs_legacy": 56.38
62+
},
63+
{
64+
"key": "multilayer_reconstruction",
65+
"label": "Multilayer reconstruction",
66+
"python_label": "compiled-python",
67+
"python_seconds": 0.009571,
68+
"native_seconds": 0.004759,
69+
"speedup": 2.01,
70+
"legacy_seconds": 0.533542,
71+
"compiled_vs_legacy": 55.74
72+
},
73+
{
74+
"key": "tracking",
75+
"label": "Tracking",
76+
"python_label": "python",
77+
"python_seconds": 1.300061,
78+
"native_seconds": 0.144059,
79+
"speedup": 9.02,
80+
"legacy_seconds": null,
81+
"compiled_vs_legacy": null
82+
}
83+
]
84+
}
Lines changed: 16 additions & 51 deletions
Loading

0 commit comments

Comments
 (0)