Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pr/joamaki/fix pr fails #68

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Pr/joamaki/fix pr fails #68

wants to merge 2 commits into from

Conversation

joamaki
Copy link
Contributor

@joamaki joamaki commented Nov 7, 2024

No description provided.

The "if: always()" seems to have ignored the earlier step failure
and marking even failing PRs as succeeding. Switch to using "fail-fast: false".

Signed-off-by: Jussi Maki <[email protected]>
Signed-off-by: Jussi Maki <[email protected]>
Copy link

github-actions bot commented Nov 7, 2024

$ make test
aoeusth
make: aoeusth: No such file or directory
make: *** [Makefile:9: test] Error 127
-----
$ make bench
go test ./... -bench . -benchmem -test.run xxx
goos: linux
goarch: amd64
pkg: github.com/cilium/statedb
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkDB_WriteTxn_1-4                    	  420586	      2662 ns/op	    375722 objects/sec	    2816 B/op	      32 allocs/op
BenchmarkDB_WriteTxn_10-4                   	 1233764	       975.1 ns/op	   1025538 objects/sec	     743 B/op	      10 allocs/op
BenchmarkDB_WriteTxn_100-4                  	 1556264	       767.6 ns/op	   1302756 objects/sec	     600 B/op	       7 allocs/op
BenchmarkDB_WriteTxn_1000-4                 	 1501242	       821.5 ns/op	   1217355 objects/sec	     549 B/op	       7 allocs/op
BenchmarkDB_WriteTxn_100_SecondaryIndex-4   	  495494	      2344 ns/op	    426669 objects/sec	    1505 B/op	      37 allocs/op
BenchmarkDB_Modify-4                        	    1317	    921416 ns/op	   1085287 objects/sec	  772775 B/op	    8461 allocs/op
BenchmarkDB_GetInsert-4                     	    1214	   1000620 ns/op	    999382 objects/sec	  759141 B/op	    8464 allocs/op
BenchmarkDB_RandomInsert-4                  	    2373	    511260 ns/op	   1955950 objects/sec	  402212 B/op	    7097 allocs/op
BenchmarkDB_RandomReplace-4                 	     322	   3720858 ns/op	    268755 objects/sec	 2356671 B/op	   48568 allocs/op
BenchmarkDB_SequentialInsert-4              	    1546	    800086 ns/op	   1249865 objects/sec	  550144 B/op	    7286 allocs/op
BenchmarkDB_Changes_Baseline-4              	    1282	    936576 ns/op	   1067720 objects/sec	  553127 B/op	   10252 allocs/op
BenchmarkDB_Changes-4                       	     705	   1684871 ns/op	    593517 objects/sec	  993333 B/op	   14493 allocs/op
BenchmarkDB_RandomLookup-4                  	   21861	     56121 ns/op	  17818550 objects/sec	     160 B/op	       1 allocs/op
BenchmarkDB_SequentialLookup-4              	   27196	     44378 ns/op	  22533665 objects/sec	       0 B/op	       0 allocs/op
BenchmarkDB_Prefix_SecondaryIndex-4         	    7626	    148144 ns/op	   6750196 objects/sec	   93916 B/op	    1044 allocs/op
BenchmarkDB_FullIteration_All-4             	     900	   1246237 ns/op	  80241715 objects/sec	     480 B/op	      12 allocs/op
BenchmarkDB_FullIteration_Get-4             	     224	   5394641 ns/op	  18536949 objects/sec	       0 B/op	       0 allocs/op
BenchmarkDB_PropagationDelay-4              	  517008	      2316 ns/op	        20.00 50th_µs	        23.00 90th_µs	        72.00 99th_µs	    1589 B/op	      24 allocs/op
PASS
ok  	github.com/cilium/statedb	27.771s
PASS
ok  	github.com/cilium/statedb/index	0.003s
PASS
ok  	github.com/cilium/statedb/internal	0.003s
goos: linux
goarch: amd64
pkg: github.com/cilium/statedb/part
cpu: AMD EPYC 7763 64-Core Processor                
Benchmark_Insert_RootOnlyWatch-4    	    8052	    132970 ns/op	   7520494 objects/sec	  104165 B/op	    2041 allocs/op
Benchmark_Insert-4                  	    6180	    182342 ns/op	   5484213 objects/sec	  219063 B/op	    3065 allocs/op
Benchmark_Modify-4                  	    8060	    141660 ns/op	   7059143 objects/sec	  212862 B/op	    1205 allocs/op
Benchmark_GetInsert-4               	    6714	    171878 ns/op	   5818079 objects/sec	  212480 B/op	    1204 allocs/op
Benchmark_Replace-4                 	26932830	        44.50 ns/op	  22470684 objects/sec	       0 B/op	       0 allocs/op
Benchmark_Replace_RootOnlyWatch-4   	27180760	        44.66 ns/op	  22393908 objects/sec	       0 B/op	       0 allocs/op
Benchmark_txn_1-4                   	 3029960	       394.3 ns/op	   2536427 objects/sec	     448 B/op	       7 allocs/op
Benchmark_txn_10-4                  	 7462652	       166.1 ns/op	   6020546 objects/sec	     154 B/op	       2 allocs/op
Benchmark_txn_100-4                 	 8339451	       143.5 ns/op	   6968575 objects/sec	     224 B/op	       2 allocs/op
Benchmark_txn_1000-4                	 7333634	       163.3 ns/op	   6124112 objects/sec	     216 B/op	       2 allocs/op
Benchmark_txn_delete_1-4            	 3107106	       387.9 ns/op	   2577721 objects/sec	     856 B/op	       6 allocs/op
Benchmark_txn_delete_10-4           	 8110282	       146.5 ns/op	   6823928 objects/sec	     132 B/op	       1 allocs/op
Benchmark_txn_delete_100-4          	 9940165	       118.6 ns/op	   8430127 objects/sec	      60 B/op	       1 allocs/op
Benchmark_txn_delete_1000-4         	10564424	       112.9 ns/op	   8860951 objects/sec	      26 B/op	       1 allocs/op
Benchmark_Get-4                     	   38133	     31778 ns/op	  31468224 objects/sec	       0 B/op	       0 allocs/op
Benchmark_Iterate-4                 	  176451	      6964 ns/op	 143587167 objects/sec	      80 B/op	       3 allocs/op
Benchmark_Hashmap_Insert-4          	   16014	     75093 ns/op	  13316875 objects/sec	   86554 B/op	      64 allocs/op
Benchmark_Hashmap_Get_Uint64-4      	  154262	      7788 ns/op	 128409777 objects/sec	       0 B/op	       0 allocs/op
Benchmark_Hashmap_Get_Bytes-4       	  140188	      8223 ns/op	 121609844 objects/sec	       0 B/op	       0 allocs/op
Benchmark_Uint64Map_Random-4        	    1383	    864926 ns/op	   1156169 items/sec	 2702681 B/op	    9035 allocs/op
Benchmark_Uint64Map_Sequential-4    	    1494	    797503 ns/op	   1253915 items/sec	 2492406 B/op	    9749 allocs/op
PASS
ok  	github.com/cilium/statedb/part	28.233s
PASS
ok  	github.com/cilium/statedb/reconciler	0.004s
?   	github.com/cilium/statedb/reconciler/benchmark	[no test files]
?   	github.com/cilium/statedb/reconciler/example	[no test files]
go run ./reconciler/benchmark -quiet
1000000 objects reconciled in 2.96 seconds (batch size 1000)
Throughput 338301.92 objects per second
Allocated 6011327 objects, 424793kB bytes, 535744kB bytes still in use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant