Skip to content

Commit 517749e

Browse files
author
jayeshmepani
committed
docs: add performance audit section and update benchmark link in documentation
1 parent 54488fc commit 517749e

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ if ($result >= 0) {
7070
}
7171
```
7272

73+
## Performance Audit
74+
75+
We have conducted a rigorous side-by-side benchmark comparing this FFI implementation against the native `php-sweph` C-extension.
76+
77+
**[View the Interactive Performance Audit →](https://jayeshmepani.github.io/Swiss-Ephemeris-PHP/benchmark/benchmark.html)**
78+
79+
The audit demonstrates **bit-perfect accuracy** and highly competitive performance across all 106 Swiss Ephemeris functions.
80+
7381
## Documentation
7482

7583
**[Read the full documentation →](https://jayeshmepani.github.io/Swiss-Ephemeris-PHP/)**

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ <h2>Performance</h2>
13691369
<div class="info-box" style="border-left-color: var(--primary); background: rgba(37, 99, 235, 0.05);">
13701370
<h3>🚀 Interactive Performance Audit</h3>
13711371
<p>We conducted a rigorous 106-function side-by-side benchmark comparing this FFI implementation against the native <code>kevindecapite/php-sweph</code> C-extension.</p>
1372-
<a href="benchmark/benchmark.html" target="_blank" style="display: inline-block; margin-top: 1rem; padding: 0.75rem 1.5rem; background: var(--primary); color: white; border-radius: 0.5rem; text-decoration: none; font-weight: 700; transition: opacity 0.2s;">View Full FFI vs. C-Ext Report &rarr;</a>
1372+
<a href="benchmark/benchmark.html" target="_blank" style="display: inline-block; margin-top: 1rem; padding: 0.75rem 1.5rem; background: #2563eb; color: #ffffff !important; border-radius: 0.5rem; text-decoration: none; font-weight: 700; transition: opacity 0.2s; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);">View Full FFI vs. C-Ext Report &rarr;</a>
13731373
</div>
13741374
<div class="info-box">
13751375
<h3>Tips for Optimal Performance</h3>

0 commit comments

Comments
 (0)