Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: add asv benchmarks #40

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

WIP: add asv benchmarks #40

wants to merge 5 commits into from

Conversation

ev-br
Copy link
Owner

@ev-br ev-br commented Apr 8, 2016

Sorry, something went wrong.

ev-br added 4 commits April 8, 2016 22:24
* pysparse is only available with `--python=same`, did not
  manage to install it with asv.
* mem_* benchmarks are all zeros for some reason.
@ev-br
Copy link
Owner Author

ev-br commented Apr 12, 2016

(scipy_np_1002)br@duneyrr:~/sweethome/proj/scipy/sparr/benchmarks$ asv run --python=same -e
· Discovering benchmarks
· Running 3 total benchmarks (1 commits * 1 environments * 3 benchmarks)
[  0.00%] ·· Building for /home/br/virtualenvs/scipy_np_1002/bin/python
[  0.00%] ·· Benchmarking /home/br/virtualenvs/scipy_np_1002/bin/python
[ 33.33%] ··· Running benchmarks.BenchPoisson2D.mem_poisson2d                                                                                                                ok
[ 33.33%] ···· 
               ===== =========== ======== ========== ============
               --                       class                    
               ----- --------------------------------------------
                 n    map_array   ll_mat   fast_lil   dok_matrix 
               ===== =========== ======== ========== ============
                 10      0.0       0.0       0.0         0.0     
                100      0.0       0.0       0.0         0.0     
                300      0.0       0.0       0.0         0.0     
               ===== =========== ======== ========== ============

[ 66.67%] ··· Running benchmarks.BenchPoisson2D.peakmem_poisson2d                                                                                                            ok
[ 66.67%] ···· 
               ===== =========== ======== ========== ============
               --                       class                    
               ----- --------------------------------------------
                 n    map_array   ll_mat   fast_lil   dok_matrix 
               ===== =========== ======== ========== ============
                 10       19M       19M       19M         19M    
                100       25M       20M       21M         28M    
                300       69M       27M       35M         99M    
               ===== =========== ======== ========== ============

[100.00%] ··· Running benchmarks.BenchPoisson2D.time_poisson2d                                                                                                               ok
[100.00%] ···· 
               ===== =========== ========= ========== ============
               --                        class                    
               ----- ---------------------------------------------
                 n    map_array    ll_mat   fast_lil   dok_matrix 
               ===== =========== ========= ========== ============
                 10    311.51μs   78.28μs   801.11μs     4.93ms   
                100    39.28ms     7.98ms   80.66ms     563.96ms  
                300    378.91ms   75.55ms   766.65ms     5.01s    
               ===== =========== ========= ========== ============

@ev-br ev-br mentioned this pull request Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant