You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are garbage collection pauses. Surprisingly, the issue seems to be in (chickadee graphics path) or a dependency -- it's observable in this minimal example:
;; $ chickadee play gc-issue.scm;;;; Observation: 'gc-time slowly but steadily grows;;;; Notes:;; - this example is based on chickadee/examples/path.scm;; - only happens when game window is visible;; - seems to be specific to (chickadee graphics path), doesn't;; affect (chickadee graphics font) for example;; - observed with past few chickadee versions (though this;; example requires v0.8 because it uses `chickadee play`)
(use-modules
(chickadee)
(chickadee math vector)
(chickadee graphics path))
(definecanvas (make-empty-canvas))
(definemax-gc-time 0)
(define (draw alpha)
(let ((gc-time (assoc-ref (gc-stats) 'gc-time-taken)))
(when (> gc-time max-gc-time)
(set! max-gc-time gc-time)
(pk 'gc-time gc-time)))
;; based on chickadee/examples/path.scm
(set-canvas-painter! canvas (fill (circle (vec2 100100) 5)))
(draw-canvas canvas))
(run-game #:draw draw)
I emailed the developer, but got no response.
It would be nice to see if this is reproducible on another system (ie not anarchy-xps).
The text was updated successfully, but these errors were encountered:
These are garbage collection pauses. Surprisingly, the issue seems to be in
(chickadee graphics path)
or a dependency -- it's observable in this minimal example:I emailed the developer, but got no response.
It would be nice to see if this is reproducible on another system (ie not
anarchy-xps
).The text was updated successfully, but these errors were encountered: