diff options
author | Rob Herring <[email protected]> | 2020-08-06 16:50:09 -0600 |
---|---|---|
committer | Rob Herring <[email protected]> | 2020-08-19 14:31:58 -0600 |
commit | 7ba58fff001da7e7296dbed8ddc13212300d1c57 (patch) | |
tree | 7013ac0f4e98632bec6ef00fbc93be68b495dd3c /tools/perf/scripts/python/sctop.py | |
parent | b8a49399fb7abd4ec402bea1fec5a974053591b6 (diff) |
dt-bindings: Validate DT binding schema in a single call
As the number of binding schemas has grown, the time to run
dt_binding_check has gotten pretty slow. A large part of this is due to
the slow startup time of Python (a well documented problem). There's not
currently any benefit to running dt-doc-validate one file at a time, so
let's switch it to run a single rule. Doing this means we loose the make
parallelism, but we can use xargs instead. This speeds up the validation
time from several minutes to <10 sec.
Since the validation is a single step with no output, we move running it
as part of the processed-schema-examples.json target. We also need to
reorder the extra-y entries so the validation is run first rather than
after all the examples are extracted.
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions