• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber / h3-go / 37079004759
100%

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2026 11:46PM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Oct 2026 11:42PM UTC coverage: 100.0%. Remained the same
37079004759

push

github

web-flow
perf: compute latLngToVec3 with math.Sincos in x/h3go (#156)

latLngToVec3 took the sine and cosine of both the latitude and the longitude
through four separate math.Sin / math.Cos calls, range-reducing each angle
twice. math.Sincos returns sine and cosine from a single reduction, so the
forward projection now makes two calls instead of four.

The projected output is unchanged: the pinned known-value tests, the cgo parity
suite and the conformance suite all still pass, and the path stays
allocation-free. latLngToVec3 is unexported, so unlike the other benchmarks it
cannot be reached from paritytest; BenchmarkLatLngToVec3 is added in-package to
guard it.

benchstat, fifteen interleaved rounds of each side on an Apple M3 Max:

                │     old      │                new                 │
                │    sec/op    │   sec/op     vs base               │
LatLngToVec3-16   13.750n ± 1%   8.614n ± 4%  -37.35% (p=0.000 n=15)

End to end the win is small, around 1% off LatLngToCell, since the projection is
well under a tenth of that call, which is dominated by the face-IJK descent.

Co-authored-by: gitKashish <125540624+gitKashish@users.noreply.github.com>

5 of 5 new or added lines in 1 file covered. (100.0%)

4539 of 4539 relevant lines covered (100.0%)

2694931.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go- - 37079004759.1 02 Oct 2026 11:46PM UTC 20
100.0
GitHub Action Run
Source Files on build 37079004759
  • Tree
  • List 20
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 548075aa on github
  • Prev Build on master (#37074946426)
  • Next Build on master (#37337061110)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc