Git Product home page Git Product logo

Comments (4)

holgern avatar holgern commented on August 22, 2024

Strange, on my server:

beempy, version 0.24.13

real    0m1.081s
user    0m1.033s
sys     0m0.049s

Does installation of

pip3 install -U cryptography

or

pip3 install -U secp256k1prp

Change something?

from beem.

holgern avatar holgern commented on August 22, 2024

A downgrade of ecdsa to 0.14 increases the load speed, could you test this also:

pip3 install ecdsa==0.14

time beempy --version
beempy, version 0.24.13

real 0m0.511s
user 0m0.454s
sys 0m0.057s

from beem.

holgern avatar holgern commented on August 22, 2024

Can you also test the newest ecdsa with gmpy2?

pip3 install ecdsa -U
apt install python3-gmpy2

time beempy --version
beempy, version 0.24.13

real 0m0.618s
user 0m0.526s
sys 0m0.087s

from beem.

Gandalf-the-Grey avatar Gandalf-the-Grey commented on August 22, 2024

time beempy --version:

beempy, version 0.24.13

real    0m4.582s
user    0m4.367s
sys     0m0.203s

after using pip3 install -U cryptography it's actually slower:

beempy, version 0.24.13  

real    0m5.196s
user    0m4.966s
sys     0m0.222s

similar after pip3 install -U secp256k1prp:

beempy, version 0.24.13

real    0m5.037s
user    0m4.830s
sys     0m0.184s

(most likely because using versions slower than those that comes with distro)

however, after pip3 install ecdsa==0.14 while still slow, it's way better:

beempy, version 0.24.13

real    0m2.609s
user    0m2.439s
sys     0m0.164s

with ecdsa upgraded to 0.16 and with installed python3-gmpy2:

beempy, version 0.24.13

real    0m3.452s
user    0m3.234s
sys     0m0.161s

from beem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.