Skip to content

Commit 848adc1

Browse files
committed
add two extra lines
1 parent ce852fc commit 848adc1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

content/blog/lpython_mvp.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ We compare JIT compilation of LPython to Numba on **summation of all the element
207207
| Python | 3.10.4 |
208208

209209
<br/>
210+
211+
210212
<!-- Add your systems like System - Linux, System - Windows, etc and then add the results for your System in the tables that follow -->
211213

212214
**Summation of all the elements of a 1-D array**
@@ -268,6 +270,8 @@ test()
268270

269271
<br/>
270272

273+
274+
271275
| Compiler | Execution Time (s) | System | Relative |
272276
|---|---|---|---|
273277
| LPython | 0.013 | Apple M1 MBP 2020 | 1.00 |
@@ -280,6 +284,8 @@ test()
280284
| Numba | 0.048 | AMD Ryzen 5 2500U (Ubuntu 22.04) | 1.00 |
281285

282286
<br/>
287+
288+
283289
<!-- TODO: Write a summary of the results -->
284290

285291
**Pointwise multiplication of two 1-D arrays**
@@ -335,6 +341,8 @@ test()
335341

336342
<br/>
337343

344+
345+
338346
| Compiler | Execution Time (s) | System | Relative |
339347
|---|---|---|---|
340348
| Numba | 0.041 | Apple M1 MBP 2020 | 1.00 |
@@ -347,6 +355,8 @@ test()
347355
| LPython | 0.21 | AMD Ryzen 5 2500U (Ubuntu 22.04) | 1.00 |
348356

349357
<br/>
358+
359+
350360
<!-- TODO: Write a summary of the results -->
351361

352362
**Insertion sort on lists**
@@ -418,6 +428,8 @@ test()
418428

419429
<br/>
420430

431+
432+
421433
| Compiler | Execution Time (s) | System | Relative |
422434
|---|---|---|---|
423435
| LPython | 0.11 | Apple M1 MBP 2020 | 1.00 |
@@ -430,6 +442,8 @@ test()
430442
| Numba | 0.36 | AMD Ryzen 5 2500U (Ubuntu 22.04) | 3.60 |
431443

432444
<br/>
445+
446+
433447
<!-- TODO: Write a summary of the results -->
434448

435449
**Quadratic-time implementation of the Dijkstra shortest-path algorithm on a fully connected graph**
@@ -554,6 +568,8 @@ test()
554568

555569
<br/>
556570

571+
572+
557573
| Compiler | Execution Time (s) | System | Relative |
558574
|---|---|---|---|
559575
| LPython | 0.23 | Apple M1 MBP 2020 | 1.00 |
@@ -566,6 +582,8 @@ test()
566582
| Numba | 1.95 | AMD Ryzen 5 2500U (Ubuntu 22.04) | 2.24 |
567583

568584
<br/>
585+
586+
569587
<!-- TODO: Write a summary of the results -->
570588

571589
### Ahead-of-Time (AoT) Compilation
@@ -584,6 +602,8 @@ Next, we see how LPython compares to other AoT compilers and to the standard CPy
584602

585603
<br/>
586604

605+
606+
587607
**Quadratic-time implementation of the Dijkstra shortest-path algorithm on a fully connected graph**
588608

589609
```python
@@ -724,6 +744,8 @@ int main() {
724744
725745
<br/>
726746
747+
748+
727749
Note the optimization flags furnished to each compiler.
728750
729751
| Compiler/Interpreter | Optimization flags used |
@@ -735,6 +757,8 @@ Note the optimization flags furnished to each compiler.
735757
736758
<br/>
737759
760+
761+
738762
<!-- TODO: Write a summary of the results -->
739763
740764
**Floyd-Warshall algorithm on array representation of graphs**
@@ -836,6 +860,8 @@ int main() {
836860
| Python | 440.588 | AMD Ryzen 5 2500U (Ubuntu 22.04) | 633.94 |
837861
838862
<br/>
863+
864+
839865
<!-- TODO: Remove above line if the following table looks good.-->
840866
841867
Note the optimization flags furnished to each compiler.
@@ -848,6 +874,8 @@ Note the optimization flags furnished to each compiler.
848874
| Python | - |
849875
850876
<br/>
877+
878+
851879
<!-- TODO: Write a summary of the results -->
852880
853881
### Interoperability with CPython

0 commit comments

Comments
 (0)