Skip to content

Commit 55c2c0d

Browse files
committed
New point release
- Added exports for the profiling classes. - Reverted some changes that failed the Java runtime tests. Signed-off-by: Mike Lischke <[email protected]>
1 parent 1a4fcc1 commit 55c2c0d

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

ReadMe.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ Last release (pure TypeScript):
124124

125125
| Test | Cold Run | Warm Run|
126126
| ---- | -------- | ------- |
127-
| Query Collection| 4724 ms | 337 ms |
128-
| Example File | 672 ms | 192 ms |
129-
| Large Inserts | 15144 ms | 15039 ms |
130-
| Total | 20600 ms | 15592 ms |
127+
| Query Collection| 6020 ms | 314 ms |
128+
| Example File | 1059 ms | 181 ms |
129+
| Large Inserts | 13722 ms | 13657 ms |
130+
| Total | 20933 ms | 13658 ms |
131131

132-
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.
132+
The numbers are interesting. While the cold run for the query collection is 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.
133133

134134
Overall the numbers in the pure TS runtime are pretty good, especially when comparing them with [antlr4ts](https://github.com/mike-lischke/antlr4wasm/tree/master/benchmarks/mysql).
135135

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

146146
## Release Notes
147147

148+
### 2.0.9
149+
150+
- Added exports for the profiling classes.
151+
- Reverted some changes that failed the Java runtime tests.
152+
148153
### 2.0.8
149154

150155
- Fixed string construction with class names (which doesn't work when bundling the sources).

package.json

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

0 commit comments

Comments
 (0)