wberrier · GitHub

I have some rather large patches I'm trying to import.

It's been running on a single 28M patch for dozens of minutes. Running py-spy top shows:

Total Samples 19600
GIL: 0.00%, Active: 100.00%, Threads: 1
  %Own   %Total  OwnTime  TotalTime  Function (filename:line)
100.00% 100.00%   196.0s    196.0s   __split_descr_diff (stgit/commands/common.py:374)
  0.00%   0.00%   0.010s    0.010s   __split_descr_diff (stgit/commands/common.py:367)
  0.00% 100.00%   0.000s    196.0s   _main (stgit/main.py:193)
  0.00% 100.00%   0.000s    196.0s   parse_patch (stgit/commands/common.py:430)
  0.00% 100.00%   0.000s    196.0s   main (stgit/main.py:221)
  0.00% 100.00%   0.000s    196.0s   <module> (stg:39)
  0.00% 100.00%   0.000s    196.0s   func (stgit/commands/imprt.py:486)
  0.00% 100.00%   0.000s    196.0s   __import_file (stgit/commands/imprt.py:272)

This is with v0.23.

Unfortunately, I can't post the patch. It's a patch that contains changes to 630 files, 700k inserts, some binary files, etc...

It looks like it's getting stuck on parsing the patch, looking for a description...

Read the original on github.com ↗