summaryrefslogtreecommitdiff
path: root/book/src/performance.md
blob: d769a6f0ce6053719f12087b221ed7252a9a6764 (plain)
# Performance

Here are some tips to make your game perform more quickly

## Scripts

Generally, one large WebAssembly script will perform better than many small
scripts. There is overhead that comes from calling a script, and more scripts
will result in more overhead. Try to have as few scripts as possible. Ideally,
you should have no more than 20 scripts enabled at the same time.