Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/corestoreio/pkg
/ functions
Functions
7,620 in github.com/corestoreio/pkg
⨍
Functions
7,620
◇
Types & classes
965
Function
BenchmarkQuoteAs
(b *testing.B)
sql/dml/benchmark_pub_test.go:493
Function
BenchmarkQuoteQuote
(b *testing.B)
sql/dml/benchmark_pub_test.go:503
Function
BenchmarkRS256Signing
(b *testing.B)
util/csjwt/rsa_test.go:129
Function
BenchmarkRS256Verify
(b *testing.B)
util/csjwt/rsa_test.go:144
Function
BenchmarkRS384Signing
(b *testing.B)
util/csjwt/rsa_test.go:134
Function
BenchmarkRS384Verify
(b *testing.B)
util/csjwt/rsa_test.go:153
Function
BenchmarkRS512Signing
(b *testing.B)
util/csjwt/rsa_test.go:139
Function
BenchmarkRS512Verify
(b *testing.B)
util/csjwt/rsa_test.go:162
Function
BenchmarkRandAlnum_18
(b *testing.B)
util/strs/strings_test.go:194
Function
BenchmarkRepeat
(b *testing.B)
sql/dml/benchmark_pub_test.go:453
Function
BenchmarkSQLScanner
(b *testing.B)
storage/null/benchmark_test.go:27
Function
BenchmarkScopedConfig_ParseFromRequest_HS256Fast_FNV64a
todo investigate allocs 200000 9072 ns/op 1529 B/op 32 allocs/op
net/jwt/scopedConfig_test.go:132
Function
BenchmarkScopedServiceStringDefault
(b *testing.B)
config/benchmarks_test.go:219
Function
BenchmarkScopedServiceStringStore
BenchmarkScopedServiceStringStore-4 1000000 2218 ns/op 320 B/op 9 allocs/op => Go 1.5.2 BenchmarkScopedServiceStringStore-4 50000
config/benchmarks_test.go:211
Function
BenchmarkScopedServiceStringWebsite
(b *testing.B)
config/benchmarks_test.go:215
Function
BenchmarkSectionSliceFindFieldByID1
BenchmarkSectionSliceFindFieldByID1 20000000 92.9 ns/op 0 B/op 0 allocs/op => Go 1.4.2 strings BenchmarkSectionSliceFindFieldByI
config/_config_bm/elements_bench_test.go:72
Function
BenchmarkSectionSliceFindFieldByID5
BenchmarkSectionSliceFindFieldByID5 2000000 587 ns/op 0 B/op 0 allocs/op => Go 1.4.2 BenchmarkSectionSliceFindFieldByID5 30
config/_config_bm/elements_bench_test.go:93
Function
BenchmarkSectionSliceFindFieldByID5_Parallel
BenchmarkSectionSliceFindFieldByID5_Parallel-4 1000000 1576 ns/op 0 B/op 0 allocs/op
config/_config_bm/elements_bench_test.go:115
Function
BenchmarkSectionSliceToJson
BenchmarkSectionSliceToJson 300 4336829 ns/op 973188 B/op 17254 allocs/op => Go 1.4.2 BenchmarkSectionSliceToJson 500 3609676 ns
config/_config_bm/elements_bench_test.go:51
Function
BenchmarkSectionSliceValidate
BenchmarkSectionSliceValidate 1000 1791239 ns/op 158400 B/op 4016 allocs/op => Go 1.4.2 BenchmarkSectionSliceValidate 1000 1636
config/_config_bm/elements_bench_test.go:32
Function
BenchmarkSelectBasicSQL
BenchmarkSelectBasicSQL-4 500000 2542 ns/op 1512 B/op 18 allocs/op BenchmarkSelectBasicSQL-4 1000000 2395 ns/op 1664
sql/dml/benchmark_pub_test.go:63
Function
BenchmarkSelectExcessConditions
Type Condition is not a pointer. The GC pressure is much less but the program is a bit slower due to copying. BenchmarkSelectExcessConditions-4 2
sql/dml/benchmark_pub_test.go:96
Function
BenchmarkSelectFullSQL
(b *testing.B)
sql/dml/benchmark_pub_test.go:125
Function
BenchmarkSelectRows2007
table with 2007 rows and 5 columns MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports) 2.5 GHz Intel Core i7 go version devel +5fae09b738 Tue Jan 15
sql/dml/benchmark_integration_test.go:37
Function
BenchmarkSelect_ComplexAddColumns
(b *testing.B)
sql/dml/benchmark_pub_test.go:289
Function
BenchmarkSelect_Large_IN
(b *testing.B)
sql/dml/benchmark_pub_test.go:185
Function
BenchmarkSelect_Rows
BenchmarkSelect_Rows-4 1000000 2276 ns/op 4344 B/op 12 allocs/op git commit 609db6db BenchmarkSelect_Rows-4 500000 2919 n
sql/dml/benchmark_pub_test.go:32
Function
BenchmarkSelect_SQLCase
BenchmarkSelect_SQLCase-4 500000 3451 ns/op 2032 B/op 21 allocs/op BenchmarkSelect_SQLCase-4 500000 3690 ns/op 284
sql/dml/benchmark_pub_test.go:329
Function
BenchmarkService_Json_Decoding
(b *testing.B)
store/benchmark_test.go:101
Function
BenchmarkService_Json_Encoding
(b *testing.B)
store/benchmark_test.go:34
Function
BenchmarkShiftPath
BenchmarkShiftPath-4 10000000 217 ns/op 96 B/op 3 allocs/op
net/path_test.go:48
Function
BenchmarkSignature_Parse
1000000 1798 ns/op 464 B/op 5 allocs/op
net/signed/header_signature_test.go:235
Function
BenchmarkSignature_Write
3000000 568 ns/op 160 B/op 4 allocs/op
net/signed/header_signature_test.go:42
Function
BenchmarkStrIsAlNum
BenchmarkStrIsAlNum 10000000 132 ns/op 0 B/op 0 allocs/op
util/strs/strings_test.go:47
Function
BenchmarkStringSliceReduceContains
BenchmarkStringSliceReduceContains 1000000 1841 ns/op 96 B/op 2 allocs/op <- Go 1.4.2 BenchmarkStringSliceReduceContains-4 100000
util/slices/string_test.go:63
Function
BenchmarkStringSliceSplitStringer8
BenchmarkStringSliceSplitStringer8 1000000 1041 ns/op 240 B/op 4 allocs/op <- Go 1.4.2 BenchmarkStringSliceSplitStringer8-4 200000
util/slices/string_test.go:260
Function
BenchmarkStringSliceUnique
BenchmarkStringSliceUnique 2000000 612 ns/op 160 B/op 2 allocs/op <- Go 1.4.2 BenchmarkStringSliceUnique 10000000 179 ns/
util/slices/string_test.go:186
Function
BenchmarkStrings_CSV_Locale
BenchmarkStrings/CSV_Locale_with_AdditionalAllowedValues_non-partial-4 1000000 2810 ns/op 64 B/op 7 allocs/op
config/observer/bench_test.go:75
Function
BenchmarkStrings_Simple
(b *testing.B)
config/observer/bench_test.go:133
Function
BenchmarkTableName
(b *testing.B)
sql/ddl/benchmark_public_test.go:28
Function
BenchmarkTank_EqualPairs_SHA256_4args
(b *testing.B)
util/hashpool/hashpool_test.go:113
Function
BenchmarkTank_Hash64
(b *testing.B)
util/hashpool/hashpool_test.go:181
Function
BenchmarkTank_SumHex_Blake2b256
(b *testing.B)
util/hashpool/hashpool_test.go:152
Function
BenchmarkTank_SumHex_SHA256
(b *testing.B)
util/hashpool/hashpool_test.go:141
Function
BenchmarkToBool_Interface
(b *testing.B)
util/conv/cast_bench_test.go:93
Function
BenchmarkToBool_String
(b *testing.B)
util/conv/cast_bench_test.go:89
Function
BenchmarkToEnvVar
BenchmarkToEnvVar-4 3000000 570 ns/op 163 B/op 6 allocs/op
config/storage/benchmark_test.go:28
Function
BenchmarkToFloat64_Float64
(b *testing.B)
util/conv/cast_bench_test.go:74
Function
BenchmarkToFloat64_Int64
(b *testing.B)
util/conv/cast_bench_test.go:79
Function
BenchmarkToFloat64_String
(b *testing.B)
util/conv/cast_bench_test.go:84
Function
BenchmarkToString_Bytes
(b *testing.B)
util/conv/cast_bench_test.go:54
Function
BenchmarkToString_Error
(b *testing.B)
util/conv/cast_bench_test.go:69
Function
BenchmarkToString_Float64
(b *testing.B)
util/conv/cast_bench_test.go:59
Function
BenchmarkToString_Int
(b *testing.B)
util/conv/cast_bench_test.go:64
Function
BenchmarkToString_String
(b *testing.B)
util/conv/cast_bench_test.go:49
Function
BenchmarkTokenDecode
(b *testing.B)
util/csjwt/encodeDecode_test.go:77
Function
BenchmarkTypeIDPack
(b *testing.B)
store/scope/typeid_test.go:270
Function
BenchmarkTypeIDString
(b *testing.B)
store/scope/typeid_test.go:41
Function
BenchmarkTypeIDUnPack
(b *testing.B)
store/scope/typeid_test.go:281
Function
BenchmarkTypeID_ValidParent
(b *testing.B)
store/scope/typeid_test.go:296
Function
BenchmarkTypeIDs_TargetAndParents
(b *testing.B)
store/scope/typeid_test.go:404
Function
BenchmarkUnderscoreToCamelCase
BenchmarkUnderscoreToCamelCase-4 1000000 1457 ns/op 192 B/op 6 allocs/op
util/strs/strings_test.go:72
Function
BenchmarkUnion
(b *testing.B)
sql/dml/benchmark_pub_test.go:566
Function
BenchmarkUpdateValuesSQL
(b *testing.B)
sql/dml/benchmark_pub_test.go:668
Function
BenchmarkVariables
BenchmarkVariables-4 2000 1046318 ns/op 28401 B/op 1121 allocs/op <= 186 rows BenchmarkVariables-4 2000 651096 ns/op
sql/ddl/benchmark_public_test.go:180
Function
BenchmarkVaryBy_Key
21 allocs due to the form parsing. BenchmarkVaryBy_Key/non-unicode-4 500000 3694 ns/op 288 B/op 21 allocs/op BenchmarkVary
net/ratelimit/varyby_test.go:168
Function
BenchmarkVerificationGetMethod
BenchmarkVerificationGetMethod-4 50000000 37.8 ns/op 0 B/op 0 allocs/op
util/csjwt/parser_internal_test.go:78
Function
BenchmarkWithAlternativeRedirect
(b *testing.B)
net/geoip/backendgeoip/bench_test.go:32
Function
BenchmarkWithCompressorGZIP_1024B
BenchmarkWithCompressorGZIP_1024B-4 20000 81916 ns/op 1330 B/op 5 allocs/op
net/compress/compress_test.go:150
Function
BenchmarkWithRequestID
(b *testing.B)
net/request/request_id_test.go:62
Function
BenchmarkWithRunMode
(b *testing.B)
net/runmode/middleware_bm_test.go:31
Function
BenchmarkWithRunMode_MultiTokenAndScope
BenchmarkWithRunMode_MultiTokenAndScope a bench mark which runs parallel and creates token for different store scopes. This means that the underlying
net/jwt/service_bm_test.go:103
Function
BenchmarkWithToken_HMAC_InMemoryBL
for scope.DefaultTypeID 200000 8474 ns/op 2698 B/op 63 allocs/op <= Go 1.7
net/jwt/service_bm_test.go:78
Function
BenchmarkWithToken_RSAGenerator_2048
30000 55376 ns/op 9180 B/op 92 allocs/op <= Go 1.7
net/jwt/service_bm_test.go:85
Function
BenchmarkWithout
(b *testing.B)
net/cors/bench_test.go:54
Function
BenchmarkWrapString
BenchmarkWrapString-4 1000000 1984 ns/op 448 B/op 5 allocs/op
util/strs/ww_test.go:118
Function
Benchmark_BigCache_Country
(b *testing.B)
storage/objcache/bench_pub_test.go:111
Function
Benchmark_BigCache_Stores
(b *testing.B)
storage/objcache/bench_pub_test.go:120
Function
Benchmark_File_Gob
(b *testing.B)
storage/objcache/bench_pub_test.go:155
Function
Benchmark_LRU_Gob
(b *testing.B)
storage/objcache/bench_pub_test.go:169
Function
Benchmark_Redis_Gob
(b *testing.B)
storage/objcache/bench_pub_test.go:129
Function
Benchmark_Redis_MsgPack
(b *testing.B)
storage/objcache/bench_pub_test.go:142
Function
Benchmark_StructGlobal
(b *testing.B)
_backend/config_backend_backend_test.go:15
Function
Benchmark_StructSpecific
(b *testing.B)
_backend/config_backend_backend_test.go:29
Function
Benchmark_Todo
(b *testing.B)
net/auth/bench_test.go:25
Function
Benchmark_TranslitURL
Benchmark_TranslitURL 300000 3905 ns/op 688 B/op 3 allocs/op
util/translit/translit_test.go:64
Method
Bind
Bind creates a new Path and binds it to a new scope with its scope ID.
config/path.go:80
Method
BindDefault
BindDefault creates a new Path and binds it to the default scope.
config/path.go:104
Method
BindStore
BindStore creates a new Path and binds it to a store scope and its ID.
config/path.go:96
Method
BindWebsite
BindWebsite creates a new Path and binds it to a website scope and its ID.
config/path.go:88
Function
BlnsBase64Json
()
util/naughtystrings/internal/resource.go:730
Function
BlnsJson
()
util/naughtystrings/internal/resource.go:1252
Method
Bool
(b bool)
sql/dml/condition.go:677
Method
Bools
(b ...bool)
sql/dml/condition.go:686
Method
ByCode
(g AttributeGetter, code string)
eav/attribute.go:115
Method
ByCode
ByCode returns an attribute index
eav/attribute.go:154
Method
ByCode
ByCode returns an custattr.Attributer by code. Use type assertion.
customer/custattr/attribute.go:175
Method
ByCode
(code string)
customer/custattr/address_test.go:160
Method
ByCode
ByCode returns an catattr.Attributer by code. Use type assertion.
catalog/catattr/attribute.go:262
Method
ByID
(g AttributeGetter, id int64)
eav/attribute.go:114
← previous
next →
3,401–3,500 of 7,620, ranked by callers