This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ruby makebigfakerubyapp.rb /tmp/bfrp | |
# cd /tmp/bfrp | |
# time bin/require_everything | |
# warble | |
# time java -jar require_everything.jar | |
require 'securerandom' | |
require 'fileutils' | |
require 'set' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This tries to produce a git repository with a file in every possible state that git-status | |
# could return. A "remote" and "user" repostories are created with initially identical contents | |
# and then series of operations are performed to leave the user repository in a state where | |
# git-status reports one of each possible status. | |
# | |
# Note: As of now, I can only reproduce 17 of the 24 possible states. | |
require 'fileutils' | |
require 'securerandom' | |
require 'shellwords' |