Code Monkey home page Code Monkey logo

mudibifasy's People

Contributors

eddyz87 avatar prozak avatar unmyth avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mudibifasy's Issues

eval vs lambda

Внезапно, компиляция имеет смысл только когда редко компилишь, но часто запускашь:

* (bench1 1000 64)
--- eval version ---
Evaluation took:
  1.748 seconds of real time
  1.744000 seconds of total run time (1.716000 user, 0.028000 system)
  [ Run times consist of 0.068 seconds GC time, and 1.676 seconds non-GC time. ]
  99.77% CPU
  2,002 forms interpreted
  6,006 lambdas converted
  5,578,554,877 processor cycles
  519,626,752 bytes consed

--- lambda version ---
Evaluation took:
  0.497 seconds of real time
  0.492000 seconds of total run time (0.492000 user, 0.000000 system)
  [ Run times consist of 0.020 seconds GC time, and 0.472 seconds non-GC time. ]
  98.99% CPU
  1,584,502,412 processor cycles
  295,534,624 bytes consed

NIL
* (bench1 100 640)
--- eval version ---
Evaluation took:
  0.326 seconds of real time
  0.324000 seconds of total run time (0.324000 user, 0.000000 system)
  [ Run times consist of 0.020 seconds GC time, and 0.304 seconds non-GC time. ]
  99.39% CPU
  202 forms interpreted
  606 lambdas converted
  1,039,037,354 processor cycles
  180,870,912 bytes consed

--- lambda version ---
Evaluation took:
  0.495 seconds of real time
  0.492000 seconds of total run time (0.492000 user, 0.000000 system)
  [ Run times consist of 0.020 seconds GC time, and 0.472 seconds non-GC time. ]
  99.39% CPU
  1,580,441,751 processor cycles
  293,238,368 bytes consed

NIL
* (bench1 10 6400)
--- eval version ---
Evaluation took:
  0.202 seconds of real time
  0.200000 seconds of total run time (0.196000 user, 0.004000 system)
  [ Run times consist of 0.012 seconds GC time, and 0.188 seconds non-GC time. ]
  99.01% CPU
  22 forms interpreted
  66 lambdas converted
  643,543,515 processor cycles
  159,611,792 bytes consed

--- lambda version ---
Evaluation took:
  0.541 seconds of real time
  0.536000 seconds of total run time (0.536000 user, 0.000000 system)
  [ Run times consist of 0.028 seconds GC time, and 0.508 seconds non-GC time. ]
  99.08% CPU
  1,726,394,295 processor cycles
  318,832,512 bytes consed

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.