cloudflare / cloudflare/workerd
`tools\cross\wpt_logs.py` loading whole xml file
Open
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
The `parse_log` function in `tools\cross\wpt_logs.py` loads the whole XML file for searching ([source](https://github.com/cloudflare/workerd/blob/main/tools/cross/wpt_logs.py#L84-L86)). This can be prevented using iterative parsing - `ElementTree.iterparse(log_file)`.
Contributor guide
Assessment
This issue has not been assessed yet.