Code Monkey home page Code Monkey logo

mrpowers-benchmarks's People

Contributors

ghuls avatar mrpowers avatar ncclementi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mrpowers-benchmarks's Issues

Rearrange the README

Move the developer focused stuff to a separate file.

Focus the README more on users interested in results. Not folks that want to clone the repo and run the commands themselves.

Create h2o data files in a scalable manner

The h2o data creation R scripts work for small datasets, but aren't scalable. Here are the results on my machine:

Rscript groupby-datagen.R 1e7 1e2 0 0 # 7 seconds
Rscript groupby-datagen.R 1e8 1e1 5 1 # 3.5 minutes
Rscript groupby-datagen.R 1e9 1e1 5 1 # errors out, presumably due to a memory error

@ghuls created a sed script that should be more portable and easier to parallelize than the Rscript. I'm assuming we can parallelize the sed script to generate multiple CSV files in parallel, so this will scale. e.g. have groupby-datagen.R 1e9 1e1 5 1 output 50 1GB files instead of a single 50GB file.

@ghuls - can you create a PR and with your sed code? Any suggestions how to parallelize it? I can probably figure out how to parallelize it with Dask if that's the best option. Thanks!

import * is not a good practice

from dask_h2o_groupby_queries import *

from library import * is not good practice. It makes it hard to know what functions or classes come from that module.

I'd recommend choosing an alias, and doing something like this:

import dask_h2o_groupby_queries as ho_queries

or some other alias and then doing:

ho_queries.benchmark()

This way it's clear where the benchmark function comes from

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.