summaryrefslogtreecommitdiff
path: root/book/src/performance.md
diff options
context:
space:
mode:
Diffstat (limited to 'book/src/performance.md')
-rw-r--r--book/src/performance.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/book/src/performance.md b/book/src/performance.md
new file mode 100644
index 0000000..d769a6f
--- /dev/null
+++ b/book/src/performance.md
@@ -0,0 +1,10 @@
+# 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.