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

Add date and time information to build script #31

Closed
priesf opened this issue Jan 11, 2022 · 1 comment
Closed

Add date and time information to build script #31

priesf opened this issue Jan 11, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@priesf
Copy link

priesf commented Jan 11, 2022

When running the build* tasks with extension it would be nice to have some information about date and time. (Similar to the B&R environment)
Maybe it is not necessary to add the date and time to each line entered in the terminal, but maybe at the start and the end.
Could also be used to check for improvements of the build performance.

@Radeonmann Radeonmann self-assigned this Jan 12, 2022
@Radeonmann Radeonmann added the enhancement New feature or request label Jan 12, 2022
@Radeonmann Radeonmann added this to the v0.0.6 milestone Jan 12, 2022
@Radeonmann
Copy link
Collaborator

Radeonmann commented Jan 12, 2022

I will look into it. What I can easily do is add the time at start and end and maybe also some time difference at end.

Something like:

2022.01.12 22:42:42.123 Starting Br.As.Build.exe
...
...
2022.01.12 22:44:42.123 Br.As.Build.exe finished with exit code 0, time since start 2min

I don't know how easy it will be to add a time for each line of output, as I just receive the command line output from the build process, which triggers an event on data. I never looked into it, but it may be not guaranteed to trigger an event on each line.

Also I want to mention the -profile build option which will let you analyze the duration of each build task in detail. It makes compilation a bit slower though, so it is less good for daily use but nice to see the difference between project or AS version changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants