Menu

cppcheck incredibly slow on large header files

jacob s
2023-09-11
2023-09-11
  • jacob s

    jacob s - 2023-09-11

    with a simple c file:

    #include "x.h"
    

    cppcheck is incredibly slow when run if x.h is large.

    see attached files (a.h, b.h). runtime for me with respective file:
    a.h (32769 bytes): 0.209s
    b.h (147119 bytes): 34.299s

    cppcheck --force -v --enable=all --inline-suppr -I . x.c

    i ran this with latest head (87719121bdf2bba2bdc629cedab665c420b708c7).

     

    Last edit: jacob s 2023-09-11
  • CHR

    CHR - 2023-09-11
    Post awaiting moderation.
  • CHR

    CHR - 2023-09-11
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.