Skip to content

Commit df00ed6

Browse files
committed
New point release
Signed-off-by: Mike Lischke <[email protected]>
1 parent c9954f9 commit df00ed6

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

ReadMe.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ Last release (pure TypeScript):
6464

6565
| Test | Cold Run | Warm Run|
6666
| ---- | -------- | ------- |
67-
| Query Collection| 5958 ms | 331 ms |
68-
| Example File | 1046 ms | 186 ms |
69-
| Large Inserts | 14705 ms | 14138 ms |
70-
| Total | 21801 ms | 14675 ms |
67+
| Query Collection| 5930 ms | 338 ms |
68+
| Example File | 1074 ms | 194 ms |
69+
| Large Inserts | 14226 ms | 14248 ms |
70+
| Total | 21290 ms | 14800 ms |
7171

7272
The numbers are interesting. While the cold run for the query collection is almost 3 seconds faster with pure TS, the overall numbers in warm state are worse. So it's not a pure JS vs. TS situation, but something else must have additional influence and this will be investigated. After all the TypeScript code is ultimately transpiled to JS, so it's probably a matter of how effective the TS code is translated to JS.
7373

@@ -85,6 +85,12 @@ The example file is a copy of the largest test file in [this repository](https:/
8585

8686
## Release Notes
8787

88+
### 2.0.1 - 2.0.2
89+
90+
- There are changes in the package content (typings are now in the dist folder too, instead of source).
91+
- There are now index.ts files in every folder and used for the final export index.ts. This makes it easier to see if something is missing and to include new or renamed files.
92+
- And there are some build changes/fixes as preparation for profiling the runtime.
93+
8894
### 2.0.0
8995

9096
The entire runtime now exclusively uses TypeScript. It was tested with the standard ANTLR4 runtime tests and completed the test suite successfully.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "antlr4ng",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"type": "module",
55
"description": "Alternative JavaScript/TypeScript runtime for ANTLR4",
66
"main": "dist/antlr4.mjs",

0 commit comments

Comments
 (0)