{"id":18800889,"url":"https://github.com/devssh/spi.perftest","last_synced_at":"2025-10-16T13:03:51.124Z","repository":{"id":95750386,"uuid":"96635717","full_name":"devssh/SPI.PerfTest","owner":"devssh","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-08T18:11:51.000Z","size":875,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"lean","last_synced_at":"2025-09-06T04:45:08.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devssh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-08T18:04:58.000Z","updated_at":"2018-09-05T18:46:20.000Z","dependencies_parsed_at":"2023-05-21T21:30:33.806Z","dependency_job_id":null,"html_url":"https://github.com/devssh/SPI.PerfTest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devssh/SPI.PerfTest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devssh%2FSPI.PerfTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devssh%2FSPI.PerfTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devssh%2FSPI.PerfTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devssh%2FSPI.PerfTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devssh","download_url":"https://codeload.github.com/devssh/SPI.PerfTest/tar.gz/refs/heads/lean","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devssh%2FSPI.PerfTest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273858864,"owners_count":25180771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T22:20:38.586Z","updated_at":"2025-10-16T13:03:46.081Z","avatar_url":"https://github.com/devssh.png","language":"Scala","readme":"##Steps before running performance test \n\n* reindex and vaccum databases\n* run the test over wired connection. turn off wifi\n* make host entry for test app domain to point nginx, so we'll not hit the firewall\n* setup ulimit (see below)\n* after deploying app server run a warm up test\n\nRun a single simulation\n-----------------------\n\n```bash\n$ sbt \"gatling:testOnly spi.simulations.EndToEnd\"\n```\n\nOpen the last report\n--------------------\n\n```bash\n$ sbt lastReport\n```\n\nCentOs Setup\n\n```bash\nulimit -n 65536\nsudo sysctl -w net.ipv4.ip_local_port_range=\"1025 65535\"\necho 300000 | sudo tee /proc/sys/fs/nr_open\necho 300000 | sudo tee /proc/sys/fs/file-max\n```          \n\nMac Setup \n```bash\nulimit -n 65536\n```\nUpdate /etc/sysctl.conf\n```\nnet.ipv4.tcp_max_syn_backlog = 40000\nnet.core.somaxconn = 40000\nnet.core.wmem_default = 8388608\nnet.core.rmem_default = 8388608\nnet.ipv4.tcp_sack = 1\nnet.ipv4.tcp_window_scaling = 1\nnet.ipv4.tcp_fin_timeout = 15\nnet.ipv4.tcp_keepalive_intvl = 30\nnet.ipv4.tcp_tw_reuse = 1\nnet.ipv4.tcp_moderate_rcvbuf = 1\nnet.core.rmem_max = 134217728\nnet.core.wmem_max = 134217728\nnet.ipv4.tcp_mem  = 134217728 134217728 134217728\nnet.ipv4.tcp_rmem = 4096 277750 134217728\nnet.ipv4.tcp_wmem = 4096 277750 134217728\nnet.core.netdev_max_backlog = 300000\n\nnet.inet.ip.portrange.first=32768\nnet.inet.ip.portrange.hifirst=32768\nnet.inet.tcp.msl=1000\n\n# for postgresql\n kern.sysv.shmall=65536\n kern.sysv.shmmax=16777216\n\n# defaults\nnet.inet.ip.portrange.lowfirst=1023\nnet.inet.ip.portrange.lowlast=600\nnet.inet.ip.portrange.last=65535\nnet.inet.ip.portrange.hilast=65535\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevssh%2Fspi.perftest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevssh%2Fspi.perftest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevssh%2Fspi.perftest/lists"}