Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: bal run is comparatively slower than the time taken for both bal build and bal run sample.jar #41360

Closed
pcnfernando opened this issue Sep 7, 2023 · 1 comment · Fixed by #41659
Assignees
Labels
Area/CLI-BuildTools Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Bug

Comments

@pcnfernando
Copy link
Member

Description

Rough durations related to a simple Hello World sample

bal run test.bal -> 15.137s

bal build test.bal -> 8.815s

bal run test.jar -> 1.395s

This behavior can be clearly seen in much bigger projects
eg: nballerina

bal run  -> 3m 26s

bal build -> 48.496s

bal run target/bin/nballerina.jar -> 4.522s

Steps to Reproduce

No response

Affected Version(s)

2201.8.0

OS, DB, other environment details and versions

No response

Related area

-> Runtime

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@pcnfernando pcnfernando changed the title [Bug]: bal run is comparatively slower than the duration for both bal build and bal run sample.jar [Bug]: bal run is comparatively slower than the time taken for both bal build and bal run sample.jar Sep 7, 2023
@pcnfernando pcnfernando added Area/CLI-BuildTools Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime labels Sep 7, 2023
@warunalakshitha warunalakshitha added Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) and removed Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime labels Oct 2, 2023
@Thevakumar-Luheerathan Thevakumar-Luheerathan self-assigned this Nov 7, 2023
Copy link

github-actions bot commented Nov 9, 2023

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/CLI-BuildTools Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Bug
Projects
None yet
3 participants