text
stringlengths
0
834k
""%SystemRoot%\System32\chcp.com"" %_OLD_CODEPAGE% > nul
set _OLD_CODEPAGE=
)
",27.7941176471,93,0.7724867725
219224,d2c6d78cfd870b2e808941f313949e2e5dcbc5cf,2359,bat,Batchfile,proof-of-concept/performance-trial-elasticsearch/run_all_performance_trials.bat,CjHare/systematic-trading,d728fdcd32fa0a7afdc025b93236c92a613d84b3,['MIT'],3.0,2017-05-20T23:06:23.000Z,2021-12-14T23:16:39.000Z,proof-of-concept/performance-trial-elasticse...
SETLOCAL
REM Build the project & start the elastic search server before running the performance trials
SET numberOfRecords=12500
SET outputFile=results\all_trials.csv
SET library=""target/performance-trial-elasticsearch-0.0.1-SNAPSHOT-jar-with-dependencies.jar""
SET javaOptions=-Xms1G -Xmx1G
SET classPrefix=com.systematic.trading.backtest.output.elastic.app.trial
echo ----------------------------------------------
echo -------- Beginning Performance Trials --------
echo ----------------------------------------------
call :removeExistingOutputFile
call :runtTrial ElasticSerialSearchPerformanceTrialSingleApi
call :runtTrial ElasticSearchSerialPerformanceTrialSingleApiOneShard
call :runtTrial ElasticSearchSerialPerformanceTrialSingleApiNoReplicas
call :runtTrial ElasticSearchSerialPerformanceTrialSingleApiIndexRefreshDisabled
call :runtTrial ElasticSearchParallelPerformanceTrialSingleApi
call :runtTrial ElasticSearchParallelPerformanceTrialManyThreadsSingleApi
call :runtTrial ElasticSearchSerialPerformanceTrialBulkApi
call :runtTrial ElasticSearchSerialPerformanceTrialBulkApiTinyPayload
call :runtTrial ElasticSearchSerialPerformanceTrialBulkApiLargePayload
call :runtTrial ElasticSearchSerialPerformanceTrialBulkApiRefreshDisabled
call :runtTrial ElasticSearchSerialPerformanceTrialBulkApiMetaContainsIndex
call :runtTrial ElasticSearchSerialPerformanceTrialBulkApiMetaContainsIndexType
call :runtTrial ElasticSearchParallelPerformanceTrialBulkApi
call :runtTrial ElasticSearchParallelPerformanceTrialBulkApiManyThreads
call :runtTrial ElasticSearchSerialPerformanceTrialBulkApiOptimal
echo ----------------------------------------------
echo All results written to %outputFile%
echo ----------------------------------------------
echo -------- Completed Performance Trials --------
echo ----------------------------------------------
rem main program must end with exit /b or goto :EOF
exit /b
rem ------ SUBROUTINES ------
:removeExistingOutputFile
IF EXIST %~dp0%outputFile% (
echo Found existing file: %~dp0%outputFile%
del %~dp0%outputFile%
echo Deleted
echo ----------------------------------------------
)
exit /b
:runtTrial
echo Begun: %1
call java %javaOptions% -cp %library% %classPrefix%.%1 %numberOfRecords% %outputFile%
echo Completed
exit /b",38.0483870968,94,0.7278507842
219225,d2c710cb19cd7ecc8196f1936ea8904e189b6eeb,55,bat,Batchfile,win/win_node/x64/Release/run_fx8_node_right.bat,amazon-picking-challenge/team_pfn,2f76524b067d816d8407f6c4fae4e6d33939c024,['Apache-2.0'],7.0,2016-09-04T02:07:04.000Z,2017-05-25T02:31:07.000Z,win/win_node/x64/Release/run_fx8_node_right.bat,amazon-picking-...
219226,d2c71178bfffef8a51bdec5c8540b4083687c424,1346,bat,Batchfile,divers/maj.bat,tibaredha/framework,31298861024f7ec81f225af2f37633fedf15990f,['MIT'],2.0,2018-12-22T19:33:14.000Z,2018-12-22T19:33:17.000Z,divers/maj.bat,tibaredha/framework,31298861024f7ec81f225af2f37633fedf15990f,['MIT'],3.0,2018-12-22T19:36:35.000Z,20...
:: tiba batch
::@echo off
title TIBA BATCH
mode con cols=80 lines=20
color 1F
::Cette ligne permet de cacher toutes les lignes de commande qui sont effectuées lors de l'exécution du programme, ainsi que cette même ligne
::echo Bonjour Monde, ceci est mon premier programme en Batch :)
::1 les variables du script
:: a prend pour valeur PifyZ
::set a=PifyZ
:: b prend pour valeur 2+5, soit 7
::set /a b=2+5
:: c prend pour valeur un nombre aléatoire
::set /a c=%RANDOM%
:: d prend pour valeur 10
::set /a d=%b%+3
:: e prend pour valeur la saisie de l'utilisateur
::set /p e=Quel est votre pseudo ?
:: Affiche le contenu de la variable d (ici elle vaut 10)
::echo %d%
:: Affiche le ""f"" contenu dans la variable a
::echo %a:~2,1%