Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
waghanza committed Feb 2, 2025
1 parent 54592a4 commit 3a0540f
Show file tree
Hide file tree
Showing 47 changed files with 41,944 additions and 47,621 deletions.
6 changes: 3 additions & 3 deletions .tasks/collect.rake
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ task :collect do
hostname = ENV.fetch('HOSTNAME')
engine = ENV.fetch('ENGINE')

`wrk -H 'Connection: keep-alive' -d 5s -c 8 --timeout 8 -t #{threads} http://#{hostname}:3000`
`wrk -H 'Connection: keep-alive' -d #{duration}s -c 256 --timeout 8 -t #{threads} http://#{hostname}:3000`
`wrk -H 'Connection: close' -d 5s -c 8 --timeout 8 -t #{threads} http://#{hostname}:3000`
`wrk -H 'Connection: close' -d #{duration}s -c 256 --timeout 8 -t #{threads} http://#{hostname}:3000`

db = PG.connect(database)

Expand Down Expand Up @@ -65,7 +65,7 @@ task :collect do
concurrency_level_id = res.first['id']

command = format(
"wrk -H 'Connection: keep-alive' --connections %<concurrency>s --threads %<threads>s --duration %<duration>s --timeout 1 --script %<pipeline>s http://%<hostname>s:3000#{uri}", concurrency:, threads:, duration:, pipeline: PIPELINE[method.to_sym], hostname:
"wrk -H 'Connection: close' --connections %<concurrency>s --threads %<threads>s --duration %<duration>s --timeout 1 --script %<pipeline>s http://%<hostname>s:3000#{uri}", concurrency:, threads:, duration:, pipeline: PIPELINE[method.to_sym], hostname:
)

Open3.popen3(command) do |_, stdout, stderr|
Expand Down
2 changes: 1 addition & 1 deletion csharp/codebehind/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
framework:
website: elanat.net
version: 3.9.2
version: 4.0
2 changes: 1 addition & 1 deletion csharp/codebehind/web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CodeBehind" Version="4.0.0" />
<PackageReference Include="CodeBehind" Version="4.0.*" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion csharp/fastendpoints/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
framework:
website: fast-endpoints.com
version: 5.33.0
version: 5.34
Loading

0 comments on commit 3a0540f

Please sign in to comment.