From f8a80039c74332e2101a177ef3fde31ef2077224 Mon Sep 17 00:00:00 2001 From: Micha White Date: Thu, 15 Aug 2024 20:14:15 -0400 Subject: Lots a changes --- book/src/performance.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 book/src/performance.md (limited to 'book/src/performance.md') 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. -- cgit v1.2.3