Skip to content

Instantly share code, notes, and snippets.

@afiune
Last active June 5, 2019 14:54
Show Gist options
  • Save afiune/f298f71788294d698e134dd82ad4b39c to your computer and use it in GitHub Desktop.
Save afiune/f298f71788294d698e134dd82ad4b39c to your computer and use it in GitHub Desktop.
Applications Service Benchmark History

General Information

Manually ran the benchmarks before they existed, they are based of the following commit (ae00d6f7a994dfaa845ff27ffbeda24777ee3dcb) before we introduced some modifications to a SQL uery inside the applications-service.

Date: June 4th, 2019
PR: N/A
Job: N/A

Output

goos: linux
goarch: amd64
pkg: github.com/chef/automate/components/applications-service/integration_test
BenchmarkIngestionNewServices-8        	     500	   2984512 ns/op
BenchmarkIngestionUpdateServices-8     	    1000	   1379584 ns/op
BenchmarkGetServiceGroups/max_1000_with_0_groups-8         	    2000	   1086397 ns/op
BenchmarkGetServiceGroups/max_1000_with_100_groups-8       	     300	   4835134 ns/op
BenchmarkGetServiceGroups/max_1000_with_200_groups-8       	     100	  12445892 ns/op
BenchmarkGetServiceGroups/max_1000_with_300_groups-8       	      50	  23853620 ns/op
BenchmarkGetServiceGroups/max_1000_with_400_groups-8       	      30	  38263011 ns/op
BenchmarkGetServiceGroups/max_1000_with_500_groups-8       	      20	  57440173 ns/op
BenchmarkGetServiceGroups/max_1000_with_600_groups-8       	      20	  79326538 ns/op
BenchmarkGetServiceGroups/max_1000_with_700_groups-8       	      10	 105000394 ns/op
BenchmarkGetServiceGroups/max_1000_with_800_groups-8       	      10	 135190633 ns/op
BenchmarkGetServiceGroups/max_1000_with_900_groups-8       	      10	 170120838 ns/op
BenchmarkGetServiceGroups/max_1000_with_1000_groups-8      	       5	 209791096 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_0_groups-8         	    2000	   1145751 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_1000_groups-8      	       5	 216568134 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_2000_groups-8      	       2	 817030687 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_3000_groups-8      	       1	1816115175 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_4000_groups-8      	       1	3229842237 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_5000_groups-8      	       1	6008568507 ns/op
BenchmarkGetServices/max_1000_with_0_services-8                     	    1000	   1596784 ns/op
BenchmarkGetServices/max_1000_with_100_services-8                   	    1000	   1821476 ns/op
BenchmarkGetServices/max_1000_with_200_services-8                   	     500	   2138585 ns/op
BenchmarkGetServices/max_1000_with_300_services-8                   	    1000	   2201083 ns/op
BenchmarkGetServices/max_1000_with_400_services-8                   	    1000	   2289376 ns/op
BenchmarkGetServices/max_1000_with_500_services-8                   	     500	   2523762 ns/op
BenchmarkGetServices/max_1000_with_600_services-8                   	     500	   2767650 ns/op
BenchmarkGetServices/max_1000_with_700_services-8                   	     500	   3025296 ns/op
BenchmarkGetServices/max_1000_with_800_services-8                   	     500	   3233865 ns/op
BenchmarkGetServices/max_1000_with_900_services-8                   	     500	   3502905 ns/op
BenchmarkGetServices/max_1000_with_1000_services-8                  	     500	   3873317 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_0_services-8            	    1000	   1291691 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_1000_services-8         	     300	   3859798 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_2000_services-8         	     200	   6387005 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_3000_services-8         	     200	   8805813 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_4000_services-8         	     100	  11113148 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_5000_services-8         	     100	  13338030 ns/op
PASS
coverage: 0.0% of statements
ok  	github.com/chef/automate/components/applications-service/integration_test	153.752s

General Information

Date: June 5th, 2019
PR: chef/automate#495
Job: https://buildkite.com/chef/chef-automate-master-verify-private/builds/1725#04637108-dcfb-4052-817e-1f8953d9f206

Output

goos: linux
goarch: amd64
pkg: github.com/chef/automate/components/applications-service/integration_test
BenchmarkIngestionNewServices-8        	     500	   3231719 ns/op
BenchmarkIngestionUpdateServices-8     	    1000	   1622204 ns/op
BenchmarkGetServiceGroups/max_1000_with_0_groups-8         	    1000	   1396144 ns/op
BenchmarkGetServiceGroups/max_1000_with_100_groups-8       	     100	  10205125 ns/op
BenchmarkGetServiceGroups/max_1000_with_200_groups-8       	      50	  30031628 ns/op
BenchmarkGetServiceGroups/max_1000_with_300_groups-8       	      30	  58665978 ns/op
BenchmarkGetServiceGroups/max_1000_with_400_groups-8       	      10	 116709847 ns/op
BenchmarkGetServiceGroups/max_1000_with_500_groups-8       	      10	 114989565 ns/op
BenchmarkGetServiceGroups/max_1000_with_600_groups-8       	      10	 191852757 ns/op
BenchmarkGetServiceGroups/max_1000_with_700_groups-8       	       5	 234145052 ns/op
BenchmarkGetServiceGroups/max_1000_with_800_groups-8       	       3	 342779918 ns/op
BenchmarkGetServiceGroups/max_1000_with_900_groups-8       	       2	 507519153 ns/op
BenchmarkGetServiceGroups/max_1000_with_1000_groups-8      	       2	 559129604 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_0_groups-8         	    1000	   2074103 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_1000_groups-8      	       3	 352022573 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_2000_groups-8      	       1	1275299904 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_3000_groups-8      	       1	4016029464 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_4000_groups-8      	       1	3775556230 ns/op
BenchmarkGetServiceGroupsHeavyLoad/max_5000_with_5000_groups-8      	       1	7330029821 ns/op
BenchmarkGetServices/max_1000_with_0_services-8                     	    1000	   1891707 ns/op
BenchmarkGetServices/max_1000_with_100_services-8                   	    1000	   2342698 ns/op
BenchmarkGetServices/max_1000_with_200_services-8                   	    1000	   2100547 ns/op
BenchmarkGetServices/max_1000_with_300_services-8                   	     500	   3111441 ns/op
BenchmarkGetServices/max_1000_with_400_services-8                   	     300	   4070505 ns/op
BenchmarkGetServices/max_1000_with_500_services-8                   	     300	   4470894 ns/op
BenchmarkGetServices/max_1000_with_600_services-8                   	     300	   4992418 ns/op
BenchmarkGetServices/max_1000_with_700_services-8                   	     300	   5304547 ns/op
BenchmarkGetServices/max_1000_with_800_services-8                   	     500	   3903377 ns/op
BenchmarkGetServices/max_1000_with_900_services-8                   	     500	   3686410 ns/op
BenchmarkGetServices/max_1000_with_1000_services-8                  	     500	   3687833 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_0_services-8            	    2000	    997205 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_1000_services-8         	     500	   3926213 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_2000_services-8         	     200	   6494251 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_3000_services-8         	     200	   8912471 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_4000_services-8         	     100	  11375089 ns/op
BenchmarkGetServicesHeavyLoad/max_5000_with_5000_services-8         	     100	  14005072 ns/op
PASS
coverage: 0.0% of statements
ok  	github.com/chef/automate/components/applications-service/integration_test	180.185s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment