Skip to content

Commit

Permalink
New point release
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Lischke <[email protected]>
  • Loading branch information
mike-lischke committed Nov 11, 2023
1 parent c9954f9 commit df00ed6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ Last release (pure TypeScript):

| Test | Cold Run | Warm Run|
| ---- | -------- | ------- |
| Query Collection| 5958 ms | 331 ms |
| Example File | 1046 ms | 186 ms |
| Large Inserts | 14705 ms | 14138 ms |
| Total | 21801 ms | 14675 ms |
| Query Collection| 5930 ms | 338 ms |
| Example File | 1074 ms | 194 ms |
| Large Inserts | 14226 ms | 14248 ms |
| Total | 21290 ms | 14800 ms |

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.

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

## Release Notes

### 2.0.1 - 2.0.2

- There are changes in the package content (typings are now in the dist folder too, instead of source).
- 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.
- And there are some build changes/fixes as preparation for profiling the runtime.

### 2.0.0

The entire runtime now exclusively uses TypeScript. It was tested with the standard ANTLR4 runtime tests and completed the test suite successfully.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "antlr4ng",
"version": "2.0.1",
"version": "2.0.2",
"type": "module",
"description": "Alternative JavaScript/TypeScript runtime for ANTLR4",
"main": "dist/antlr4.mjs",
Expand Down

0 comments on commit df00ed6

Please sign in to comment.