Giter Site home page Giter Site logo

comby-python's People

Contributors

christimperley avatar jrfaller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

comby-python's Issues

Improve logging levels

When set to logging.INFO, rooibos still produces far too much information, most of which should be reported at a logging.DEBUG level.

Feature request: Support comby timeouts

For large numbers of comby operations on large source bases, it can take upwards of an hour to process all the files in my testing. This comes down dramatically (5mins!) if I parallelise my calls to comby with multiprocessing up to 32 ways. Unfortunately comby has a default 3 second timeout, and complicated files / very busy periods means that some files trip the timeout and don't get processed.

I've added the ability to set the comby timeout in my local branch and it now gives me correct results with the performance improvements.

Attaching the diff I used here as part of the feature request in case it's something interesting for the main project.
comby-timestamps.diff.txt

matches should still return an Iterator when no match is found

I'm trying to rewrite a bunch of code, however a few source files will not match the pattern and matches simply explodes on jsn = json.loads(self.call(cmd_s, text=source)) because call returns None. Is this the expected behaviour? To bypass this I'm catching the JSONDecodeError and going to the next file, but it would be nice if we simply had an empty Iterator

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.