[Libre-soc-dev] speeding up pywriter

Jacob Lifshay programmerjake at gmail.com
Tue Jan 18 00:52:10 GMT 2022


I successfully got svanalysis, pywriter, and pyfnwriter to run quickly
enough that I'd say running it with noall and stuff to make it only do
part of the job is now unnecessary.

https://git.libre-soc.org/?p=openpower-isa.git;a=patch;h=c1b1380f8245bd0726a2892809299e0f079cd288;hp=3767ea7d3fe07517ac554f5b45935cd921c31970

time (make svanalysis && make pywriter && make pyfnwriter)
...
real    0m6.647s
user    0m4.032s
sys     0m0.180s

so 2s of the runtime is the sleep that lkcl intentionally added to
remind us to fix it generating -.csv when it shouldn't.

Before my changes:
git checkout 3767ea7d3fe07517ac554f5b45935cd921c31970
time (make svanalysis && make pywriter && make pyfnwriter)
...
real    3m13.424s
user    3m9.590s
sys     0m0.434s

Jacob



More information about the Libre-soc-dev mailing list