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

visgl / luma.gl / 23123400261
77%

Build:
DEFAULT BRANCH: master
Ran 16 Mar 2026 12:53AM UTC
Jobs 1
Files 263
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

16 Mar 2026 12:51AM UTC coverage: 76.879% (-0.4%) from 77.251%
23123400261

push

github

web-flow
fix(engine): Re-enable GPU timing metrics in AnimationLoop (#2505)

* fix(engine): Re-enable GPU timing metrics in AnimationLoop

The GPU timing code in AnimationLoop was commented out during the v9
migration when the old Query class was removed. This commit re-enables
GPU time measurement using the new QuerySet API:

- Initialize GPU time query when 'timer-query-webgl' feature is available
- Use WEBGLQuerySet's beginTimestampQuery/endTimestampQuery methods
- Record GPU time results in _beginFrameTimers() when available
- Gracefully handle unsupported environments (WebGPU, missing extension)
- Clean up query resources in destroy()

This fixes deck.gl's gpuTimePerFrame metric always reporting 0.

Related: https://github.com/visgl/deck.gl/issues/9958

https://claude.ai/code/session_01H614UvusgZQfwVssKtezh9

* test(engine): Add test for GPU timing graceful fallback

Verifies that AnimationLoop:
- Creates gpuTime and cpuTime stats regardless of timer support
- Initializes _gpuTimeQuery only when timer-query-webgl is available
- Cleans up query resources on destroy without errors

https://claude.ai/code/session_01H614UvusgZQfwVssKtezh9

* comments

* wip

* cleanup

* format

* wip

* wip

* fix

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Xiaoji Chen <cxiaoji@gmail.com>
Co-authored-by: Ib Green <ib@unfolded.ai>

2622 of 3380 branches covered (77.57%)

Branch coverage included in aggregate %.

218 of 503 new or added lines in 10 files covered. (43.34%)

12 existing lines in 2 files now uncovered.

30413 of 39590 relevant lines covered (76.82%)

96.09 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
93.51
0.78% modules/core/src/adapter/resources/resource.ts
3
84.85
-2.25% modules/webgl/src/adapter/resources/webgl-command-encoder.ts
6
75.64
-2.61% modules/webgl/src/adapter/resources/webgl-render-pass.ts
17
52.63
-31.37% modules/engine/src/animation-loop/request-animation-frame.ts
35
76.38
-3.36% modules/engine/src/animation-loop/animation-loop.ts
38
85.42
-14.58% modules/core/src/adapter/resources/command-encoder.ts
183
28.75
-22.89% modules/webgl/src/adapter/resources/webgl-query-set.ts

Uncovered Existing Lines

Lines Coverage ∆ File
2
52.63
-31.37% modules/engine/src/animation-loop/request-animation-frame.ts
10
28.75
-22.89% modules/webgl/src/adapter/resources/webgl-query-set.ts
Jobs
ID Job ID Ran Files Coverage
1 23123400261.1 16 Mar 2026 12:53AM UTC 263
76.88
GitHub Action Run
Source Files on build 23123400261
  • Tree
  • List 263
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • bb8da87a on github
  • Prev Build on master (#23120986347)
  • Next Build on master (#23123839823)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc