probcomp / GenExperimental.jl

Featherweight embedded probabilistic programming language and compositional inference programming library
MIT License
17 stars 2 forks source link

JS renderings in Julia for loop result in inconsistent frame rates on slow Wifi #23

Open marcoct opened 7 years ago

marcoct commented 7 years ago

When the Julia kernel is run locally on one's laptop, the frame rate is consistent. When the Julia kernel is running on a probcomp stack instance, some of the animations that have a high frame rate (like the MH demonstration, and the sample-from-prior demonstration), look a bit choppy. This is because those particular animations run in a Julia for loop of (1) compute, (2) render to JS, (3) repeat.

This only happened on a bad Wifi connection, and did not happen when I plugged into the Ethernet in the office.