Code Monkey home page Code Monkey logo

Comments (2)

m1arc00 avatar m1arc00 commented on July 29, 2024

About 4 hours on what I think is an average-ish mac.

There are all kinds of inefficiencies in that section of the code. As
currently written, it will end up carrying around 36 races_n.sims_110 days
of numbers; we meant to rewrite but haven't made it there yet. (And we've
only been running a day at a time with the just.today flag recently
anyway.)

Some small consolation prizes:

  • We're on day 196 now, so you're closer to done in the countdown than you
    think.
  • If you're okay with a tiny amount of wiggle, 250k is overkill by a factor
    of 5 or 10.

On Tue, Apr 22, 2014 at 7:18 PM, Keith Winstein [email protected]:

Just as a reality check, how long does it take you to run this with n.sims
<- 250000, and what kind of system are you running it on?

For us it's been running for about two hours on a 4.4 GHz Core i7-2600K,
saturating one core, and the numbers counting down (after "SIMULATING
THINGS") have gone from 307 down to 220. It's consuming about 9-12 GiB of
RAM.

Do you run it on lots of EC2 nodes and have some technique to combine
multiple separate runs (with a smaller n.sims in each run) or otherwise
multithread it? At this rate, running on one core it looks like it will
take more than a day to finish. :-)

Thanks,
Keith


Reply to this email directly or view it on GitHubhttps://github.com//issues/7
.

from leo-senate-model.

keithw avatar keithw commented on July 29, 2024

Thanks very much. 30e1af9 helps as well of course.

from leo-senate-model.

Related Issues (7)

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.