<commit_before>#!/bin/bash
#By <NAME> aka. krusic22
###Don't forget to adjust the variables to your own needs!
###We only support Java 8!
#Less time you spend in GC the better the performance! But higher the Ram usage.
#Note: 1G = 1024M
STARTRAM=128M           #USE VALUES IN M! Setting this the same value as MAXRAM can help sometimes...
MAXRAM=1024M            #USE VALUES IN M!
JARNAME=spigot.jar      #Spigoterino.Jar
EXP=false               #Enable experimental stuff... It can cause problems just so you know 
#Normal Parameters
PARMS="
-XX:+AlwaysPreTouch
-XX:+DisableExplicitGC
-XX:+UseG1GC
-XX:+UnlockExperimentalVMOptions
-XX:+AggressiveOpts"
#Set ParallelGCThreads same as Logical CPU cores MAX 8 and ConcGCThreads to one fourth of that (but don't go under 1).
THREADS="
-XX:ParallelGCThreads=8
-XX:ConcGCThreads=2"
#G1 optimizations...
GONE="
-XX:MaxGCPauseMillis=75
-XX:TargetSurvivorRatio=90
-XX:G1NewSizePercent=50
-XX:G1MaxNewSizePercent=80
-XX:InitiatingHeapOccupancyPercent=10
-XX:G1MixedGCLiveThresholdPercent=50
-XX:G1HeapWastePercent=7
"
#Experimental options... Use at your own risk
if ("$EXP" = true ) then
PARMS="-d64 -server -XX:+UseLargePagesInMetaspace -XX:LargePageSizeInBytes=2M -XX:+UseLargePages $PARMS"
fi<commit_msg>Made -server a default parameter<commit_after>#!/bin/bash
#By <NAME> aka. krusic22
###Don't forget to adjust the variables to your own needs!
###We only support Java 8!
#Less time you spend in GC the better the performance! But higher the Ram usage.
#Note: 1G = 1024M
STARTRAM=128M           #USE VALUES IN M! Setting this the same value as MAXRAM can help sometimes...
MAXRAM=1024M            #USE VALUES IN M!
JARNAME=spigot.jar      #Spigoterino.Jar
EXP=false               #Enable experimental stuff... It can cause problems just so you know 
#Normal Parameters
PARMS="
-server
-XX:+AlwaysPreTouch
-XX:+DisableExplicitGC
-XX:+UseG1GC
-XX:+UnlockExperimentalVMOptions
-XX:+AggressiveOpts"
#Set ParallelGCThreads same as Logical CPU cores MAX 8 and ConcGCThreads to one fourth of that (but don't go under 1).
THREADS="
-XX:ParallelGCThreads=8
-XX:ConcGCThreads=2"
#G1 optimizations...
GONE="
-XX:MaxGCPauseMillis=75
-XX:TargetSurvivorRatio=90
-XX:G1NewSizePercent=50
-XX:G1MaxNewSizePercent=80
-XX:InitiatingHeapOccupancyPercent=10
-XX:G1MixedGCLiveThresholdPercent=50
-XX:G1HeapWastePercent=7
"
#Experimental options... Use at your own risk
if ("$EXP" = true ) then
PARMS="-d64 -XX:+UseLargePagesInMetaspace -XX:LargePageSizeInBytes=2M -XX:+UseLargePages $PARMS"
fi
{'fraction_non_alphanumeric': 0.10369487485101311, 'fraction_numerical': 0.03257846642828764, 'mean_word_length': 4.8018433179723505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1314978', 'n_tokens_mistral': 936, 'n_tokens_neox': 870, 'n_words': 267}