Giter Site home page Giter Site logo

gitfat's Introduction

Faster git-fat for cygwin

= Usage =

Copy all files (git-fat.{exe,py,pyc}) somewhere where your cygwin shell finds it ($PATH).

It runs only on cygwin (choose platform!). Msys requires other binaries are needed.

= How it works ? =

git-fat.exe is an simplified "python" executor which i executes python file directly via CPython C API. It takes it's executable PATH c:/tools/git-fat.exe and searches for

  • c:/tools/git-fat.pyc
  • c:/tools/git-fat.py and executes the first that is found.

There is no synchronization and/or automatic compilation .py -> .pyc. If you change .py, then either remove .pyc or recompile.pyc:

$ python -m compileall git-fat.py

= Changes =

v0.2 2015-02-11:

  • fixed minor bugs
  • readme is shown if 'git-fat.{py,pyc}' file is missing
  • cygwin64 & cygwin32 binaries provided

v0.1s 2015-02-03:

  • same, but with sources

v0.1 2015-02-03:

  • initial version
  • git-fat.exe starts git-fat.pyc or git-fat.py
  • git-fat.py improvements:
    • don't start 2 git subprocesses on startup (GitFat constructor)
    • when doing checkout, pass 100 files to git checkout-index
  • gives 2-3x performance speedup in some cases (git-fat initial pull, checkout etc ...)

= Source =

Sources (git-repos are here:)

  • Patched git-fat: src/git-fat-zbigg
  • win-py-spawner: src/win-py-spawner

= jenkins =

For now, to test how it behaves on jenkins, use:

rem Git-Fat optimization hack set PATH=d:\zzg_takietam\git-fat-cygwin;%PATH% bash -c "which git-fat"

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.