<commit_before>#!/bin/bash

if [ -n "${GATLING_HOME+x}" ]; then
  echo "GATLING_HOME already set to: $GATLING_HOME"
else
  export GATLING_HOME=$(cd $(dirname $(dirname $0)); pwd -P)
  echo "GATLING_HOME not set, using default location ($GATLING_HOME)"
fi

JAVA_OPTS="-XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms2048M -Xmx2048M -Xmn100M -Xss512k -XX:+HeapDumpOnOutOfMemoryError -XX:+AggressiveOpts -XX:+OptimizeStringConcat -XX:+UseFastAccessorMethods -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly"
<commit_msg>Gatling can be launched with ./gatling.sh. Closes #140<commit_after>#!/bin/bash

if [ -n "${GATLING_HOME+x}" ]; then
  echo "GATLING_HOME already set to: $GATLING_HOME"
else
  if [ $(basename `pwd -P`) = "bin" ]; then
    export GATLING_HOME=$(dirname $(dirname $(dirname `pwd`/$0)))
  else
    export GATLING_HOME=$(cd $(dirname $(dirname $0)); pwd -P)
  fi
  echo "GATLING_HOME not set, using default location ($GATLING_HOME)"
fi


JAVA_OPTS="-XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms2048M -Xmx2048M -Xmn100M -Xss512k -XX:+HeapDumpOnOutOfMemoryError -XX:+AggressiveOpts -XX:+OptimizeStringConcat -XX:+UseFastAccessorMethods -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly"

{'fraction_non_alphanumeric': 0.13515312916111852, 'fraction_numerical': 0.03062583222370173, 'mean_word_length': 6.707692307692308, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7250422', 'n_tokens_mistral': 630, 'n_tokens_neox': 578, 'n_words': 110}