perf: add string flattening to reduce retained memory (node only)

add a memory footprint benchmark
This commit is contained in:
Patrick Malouin
2019-10-10 09:35:15 +08:00
committed by Jun Yang
parent 7bae5bcb79
commit 3ad512c51c
7 changed files with 102 additions and 6 deletions
+2
View File
@@ -2,12 +2,14 @@ import { output } from './output'
import { tag } from './tag'
import { demo } from './demo'
import { layout } from './layout'
import { memory } from './memory'
async function main () {
await output()
await tag()
await demo()
await layout()
await memory()
}
main()