All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] Untractably slow CVE checks in support/scripts/pkg-stat
Date: Thu, 27 Feb 2020 17:54:43 +0100	[thread overview]
Message-ID: <20200227175443.71a6461f@windsurf> (raw)
In-Reply-To: <ac23d55f-c8a5-587d-2c98-5967f3abfa14@railnova.eu>

Hello Titouan,

On Thu, 27 Feb 2020 16:05:41 +0100
Titouan Christophe <titouan.christophe@railnova.eu> wrote:

> 1. Uninstall the version distributed by apt:
>     `apt remove python-ijson`
> 2. Install the latest version with pip:
>     `pip install [--user] ijson`
> 3. Start the pkg-stat script, it should complete in less than 5 minutes.

Thanks a lot for the investigation and research!

I tested with ijson 2.6 installed from pip, and things are indeed a lot
better. It's not 5 minutes though:

real	19m55.557s
user	18m7.632s
sys	1m53.140s

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2020-02-27 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27 15:05 [Buildroot] Untractably slow CVE checks in support/scripts/pkg-stat Titouan Christophe
2020-02-27 16:54 ` Thomas Petazzoni [this message]
2020-02-27 21:32   ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200227175443.71a6461f@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.