Thushara Piyasekara

Results 21 comments of Thushara Piyasekara

**19/02/2024 Update** - Started testing the implementation by compiling nballerina compiler. - Found a bug related to BTypeSymbol PackageIDs being incorrect (Sent a PR fixing the issue. Have to add...

26/02/2024 - Optimized version of the nballerina compiler is working and passed all the nballerina unit tests. - Added test cases for #42171. - Sent PR for #42207 (Have to...

11/03/2024 - Implemented the initial version of `bal test --optimize` command to test the BIR optimization. (Had to whitelist the test suit functions by marking them as root nodes). -...

25/03/2024 - Researched on how the GraalVM native executables are tested. Research material can be found [here.](https://docs.google.com/document/d/1dMQc2hzUKu_BxZAUQdzRxvJCjFXoNq9Q3Ajb9qFK41k/edit?usp=sharing) - Researched on the feasibility of using "isolation class loading" to isolate the...

01/04/2024 - Researched on bytecode instructions and how ASM generates bytecode. - Implemented chain invocation design for the runtime https://github.com/ballerina-platform/ballerina-lang/pull/42433 - Implemented changes can be found in [this document](https://docs.google.com/document/d/1yjTv5e38wfYhYoJgmZgb2HH7KXYvOt06c4-GDBsP0wU/edit?usp=sharing). -...

22/04/2024 - Implemented a JSON report emitter to get the details of optimized BIR constructs. - Started writing test cases for single file projects. Test cases can be found in...

26/05/2024 - Added unit tests for the BIR level optimization. Test cases can be found [here](https://github.com/Thushara-Piyasekara/ballerina-lang/tree/dce-project/tests/jballerina-unit-test/src/test/resources/test-src/codegen-optimizer). - Implemented `bal build --optimize --verbose` command. - Implemented a JSON report emitter for...

> @Thushara-Piyasekara Please sync the PR @chiranSachintha The conflict is due to changes from dependent PR https://github.com/ballerina-platform/ballerina-lang/pull/42433 having a conflict. I am working on resolving it. Please take a look...

> Shall we resolve the merge conflicts @Thushara-Piyasekara ? @prakanth97 The conflict is due to changes from dependent PR https://github.com/ballerina-platform/ballerina-lang/pull/42433 having a conflict. I'm currently working on it. Please review...

Closing because the implementation was merged to a separate branch in https://github.com/ballerina-platform/ballerina-lang/pull/43013. All future pull requests related to this feature will be sent to that branch.