-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Internship] Binary Input Example #363
base: main
Are you sure you want to change the base?
Conversation
@NicolasHuertas we have fixed the issue with CI. Please, sync your branches with main. |
Co-authored-by: Andrés Felipe Barco Santa <[email protected]>
Thank you @NicolasHuertas for the changes. This is looking really good. Let's do a final change before acceptance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Let's wait for approval of @lfpino before merging
Binary Input Example
The goal of this example project is to test the performance of Engflow's remote execution and caching service based on the number of input binary files in the dependency graph. The project contains a
genrule
that generates a specified number of Java binaries for thegenbinary
Java library, which are then listed as dependencies in the main binary. TheMain.java
file loops through each generated class and calls itsgreetNum
method.How It Works
Generation of Java Binaries:
genrule
in theBUILD
file generates a specified number of Java classes (Hello1.java
,Hello2.java
, ...,HelloN.java
).greetNum
method that prints a unique message.Main Class Execution:
Main.java
file inbinaryinput
dynamically loads each generated class using reflection.greetNum
method of each class, printing the corresponding message.