Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Arian Sanusi (p≡p Foundation) 0d08e3d910
lint run_perf.py
1 gadu atpakaļ
FlameGraph @ a8d807a11c add submodules 1 gadu atpakaļ
data set of PGP/MIME-encrypted messages with key attached 1 gadu atpakaļ
enigmail-linux @ 5af0043728 add submodules 1 gadu atpakaļ
.gitignore gitignore perf files 1 gadu atpakaļ
.gitmodules add submodules 1 gadu atpakaļ
LICENSE Initial commit 1 gadu atpakaļ
README.md add example call, dependencies and setup to README.md 1 gadu atpakaļ
key.gpg testi gpg key 1 gadu atpakaļ
perf-identity identity applicable for the keyring 1 gadu atpakaļ
run_gpg.sh run_gpg.sh: trivial script decrypting emails in the given dir by directly calling gpg -d 1 gadu atpakaļ
run_perf.py lint run_perf.py 1 gadu atpakaļ

README.md

json-adapter-perf

benchmarking performance of the json-adapter

includes a number of simple messages + key material

$ python3 run_perf.py data/mime_mails_with_key/

will run the benchmark with supplied test data and output a FlameGraph of the run to `/tmp/perf.svg`. Web browsers may be better at rendering this svg then your image viewer.

Dependencies / Setup

This depends on

  • brendangreggs’s FlameGraph which is a submodule of this repo
  • perf (which on debian is in linux-base)
  • pep-json-server which it looks for in your $HOME - if you’re running enigmail/pEp you’re good
  • enigmail-linux, which is also a submodule of this repo (Build infrastructure for the pEp-part of enigmail/pEp
  • perf being able to collect stats: as root you can enable this by
    echo 2 > /proc/sys/kernel/perf_event_paranoid

if you’re on linux, install enigmail2 in the default pEp-mode, git submodule update --init and you should be good to go.