https://github.com/me7/jsbench-imba-v2
https://github.com/me7/jsbench-imba-v2
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/me7/jsbench-imba-v2
- Owner: me7
- Created: 2024-05-08T02:00:22.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T02:34:04.000Z (about 2 years ago)
- Last Synced: 2024-05-08T03:28:38.782Z (about 2 years ago)
- Language: Imba
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Imba V2 implementation for js-framework-benchmark
according to https://github.com/krausest/js-framework-benchmark which have imba version 1.5 implementation at https://github.com/krausest/js-framework-benchmark/blob/master/frameworks/keyed/imba/src/main.imba
I want to update it's benchmark to imba version 2 so here is the repo
## problem found
1. array.len working on dev mode but not on production mode. this cause that check array lenght silently failed (e.g. buildDatas). I can fix this by always use array.lenght method.
2. **memory leak** this one is major and i cannot fix it yet. On version 1 code when you create 10k row and clear it, you've got memory back

but on version 2 memory will not reduce even the clear rows code is same ( items = []). This problem is reported in imba.io github issue and discord server.

Hopefully imba community is active enough to help new comer to fix the problem, i really like the syntax but memory-leak application is a no-go.