jscheffl commented on PR #38021:
URL: https://github.com/apache/airflow/pull/38021#issuecomment-1989542785
Did some further performance measurement on my Laptop. Interesting, if logs
are folded actually rendering is even faster than if no grouping... maybe
because most content is hidden and saves rendering time:
| | main before log coloring PR #37985 | main today | this PR |
|--|-- | --|--|
| Log creation with DAG|-|-|43s|
| Firefox - Logs in Grid View | 20s |18.2s|15.9s|
| Firefox - Logs in Legacy View | 36.3|37.1|14.8|
| Chromium - Logs in Grid View|21.3s|20.5s|14.8s|
| Chromium - Logs in Legacy View|24.3s|25.3s|15.2s|
All measured with my HP Laptop, Intel Core i7-1280P, Ubuntu 20.04.
Measurement w/o proper tooling, just with a stop-watch :-D
FYI the 400k logs were generated with the following code in a PythonOperator:
```
print("Now some log-mess...")
for i in range(400):
print(f"::group::Mess #{i}")
for j in range(1000):
print(f"messi line {i} - {j}")
print("::endgroup::")
print("DONE with log-mess!")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]