-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented the only one performance test for
SymbolTableTest
- Loading branch information
1 parent
39935dc
commit a463c7b
Showing
5 changed files
with
82 additions
and
99 deletions.
There are no files selected for viewing
97 changes: 39 additions & 58 deletions
97
rpgJavaInterpreter-core/src/test/kotlin/com/smeup/rpgparser/interpreter/SymbolTableTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
rpgJavaInterpreter-core/src/test/resources/symboltable/ST_F_WITHOUT_DS1.rpgle
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
rpgJavaInterpreter-core/src/test/resources/symboltable/ST_F_WITH_DS_UNQUALIFIED1.rpgle
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
rpgJavaInterpreter-core/src/test/resources/symboltable/ST_F_WITH_DS_UNQUALIFIED2.rpgle
This file was deleted.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
rpgJavaInterpreter-core/src/test/resources/symboltable/ST_PERFORMANCE_ACCESS01.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
V* ============================================================== | ||
V* 27/11/2024 APU001 Creation | ||
V* ============================================================== | ||
O * PROGRAM GOAL | ||
O * This test measures the execution time required to perform | ||
O * repeated lookups of standalone fields and data structure | ||
O * fields in a symbol table created from an Abstract | ||
O * Syntax Tree (AST). | ||
O * It verifies that the AST can be produced successfully and | ||
O * evaluates the performance of symbol table lookups for | ||
O * specific fields. | ||
O * The goal is to evaluate the efficiency of symbol table lookups | ||
O * and ensure performance is within an acceptable range. | ||
V* ============================================================== | ||
D VAR1 S 10 | ||
D DS1 DS | ||
D DS1_FLD1 50 | ||
D DS1_FLD2 50 | ||
D DS1_FLD3 50 | ||
D DS1_FLD4 50 | ||
D DS1_FLD5 50 | ||
D DS1_FLD6 50 | ||
D DS1_FLD7 50 | ||
D DS1_FLD8 50 | ||
D DS1_FLD9 50 | ||
D DS1_FLD10 50 | ||
D DS1_FLD11 50 | ||
D DS1_FLD12 50 | ||
D DS1_FLD13 50 | ||
D DS1_FLD14 50 | ||
D DS1_FLD15 50 | ||
D DS1_FLD16 50 | ||
D DS1_FLD17 50 | ||
D DS1_FLD18 50 | ||
D DS1_FLD19 50 | ||
D DS1_FLD20 50 | ||
D DS1_FLD21 50 | ||
D DS1_FLD22 50 | ||
D DS1_FLD23 50 | ||
D DS1_FLD24 50 | ||
D DS1_FLD25 50 | ||
|
||
C SETON LR |