Skip to content

Commit ff80b3a

Browse files
author
jayeshmepani
committed
Add constants for astronomical calculations and update benchmark links in documentation
- Introduced a new constants.php file containing various astronomical constants and flags used for calculations. - Updated links in index.html to point correctly to the benchmark report, ensuring proper navigation for users.
1 parent 928dca8 commit ff80b3a

5 files changed

Lines changed: 2 additions & 2 deletions

File tree

File renamed without changes.

docs/index.html

Lines changed: 2 additions & 2 deletions
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: 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>
13731373
</div>
13741374
<div class="info-box">
13751375
<h3>Tips for Optimal Performance</h3>
@@ -1442,7 +1442,7 @@ <h2>Comparison with Other Packages</h2>
14421442
</table>
14431443
<div style="margin-top: 2rem; text-align: center;">
14441444
<p style="color: var(--text-muted); font-size: 0.9rem;">For bit-level accuracy and nanosecond-precision timing data:</p>
1445-
<a href="../benchmark/benchmark.html" target="_blank" style="color: var(--primary); font-weight: 600; text-decoration: underline;">Open the Deep Comparison Audit &rarr;</a>
1445+
<a href="benchmark/benchmark.html" target="_blank" style="color: var(--primary); font-weight: 600; text-decoration: underline;">Open the Deep Comparison Audit &rarr;</a>
14461446
</div>
14471447
</section>
14481448

0 commit comments

Comments
 (0)