Skip to content

Commit

Permalink
Replace benchmark set all with structured (#101)
Browse files Browse the repository at this point in the history
Given benchmarks have settled, it's time to update the old benchmarks in
`all` set with the more structured ones.
  • Loading branch information
DonggeLiu authored Feb 14, 2024
1 parent b06138f commit a93f8e6
Show file tree
Hide file tree
Showing 605 changed files with 16,708 additions and 20,832 deletions.
80 changes: 65 additions & 15 deletions benchmark-sets/all/abseil-cpp.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,65 @@
functions:
- bool absl::str_format_internal::FormatArgImpl::Dispatch<long long>(char * arg, size_t
spec, int out, char * )
- bool absl::str_format_internal::FormatArgImpl::Dispatch<long>(char * arg, size_t
spec, int out, char * )
- bool absl::str_format_internal::FormatArgImpl::Dispatch<short>(char * arg, size_t
spec, int out, char * )
- bool absl::str_format_internal::FormatArgImpl::Dispatch<signed char>(char * arg,
size_t spec, int out, char * )
- bool absl::str_format_internal::FormatArgImpl::Dispatch<char>(char * arg, size_t
spec, int out, char * )
project: abseil-cpp
target_name: string_escape_fuzzer
target_path: /src/string_escape_fuzzer.cc

"functions":
- "name": "_ZN4absl19str_format_internal13FormatArgImpl8DispatchIxEEbNS1_4DataENS0_24FormatConversionSpecImplEPv"
"params":
- "name": "arg"
"type": "char *"
- "name": "spec"
"type": "size_t"
- "name": "out"
"type": "int"
- "name": ""
"type": "char *"
"return_type": "bool"
"signature": "bool absl::str_format_internal::FormatArgImpl::Dispatch<long long>(absl::str_format_internal::FormatArgImpl::Data, absl::str_format_internal::FormatConversionSpecImpl, void*)"
- "name": "_ZN4absl19str_format_internal13FormatArgImpl8DispatchIlEEbNS1_4DataENS0_24FormatConversionSpecImplEPv"
"params":
- "name": "arg"
"type": "char *"
- "name": "spec"
"type": "size_t"
- "name": "out"
"type": "int"
- "name": ""
"type": "char *"
"return_type": "bool"
"signature": "bool absl::str_format_internal::FormatArgImpl::Dispatch<long>(absl::str_format_internal::FormatArgImpl::Data, absl::str_format_internal::FormatConversionSpecImpl, void*)"
- "name": "_ZN4absl19str_format_internal13FormatArgImpl8DispatchIsEEbNS1_4DataENS0_24FormatConversionSpecImplEPv"
"params":
- "name": "arg"
"type": "char *"
- "name": "spec"
"type": "size_t"
- "name": "out"
"type": "int"
- "name": ""
"type": "char *"
"return_type": "bool"
"signature": "bool absl::str_format_internal::FormatArgImpl::Dispatch<short>(absl::str_format_internal::FormatArgImpl::Data, absl::str_format_internal::FormatConversionSpecImpl, void*)"
- "name": "_ZN4absl19str_format_internal13FormatArgImpl8DispatchIaEEbNS1_4DataENS0_24FormatConversionSpecImplEPv"
"params":
- "name": "arg"
"type": "char *"
- "name": "spec"
"type": "size_t"
- "name": "out"
"type": "int"
- "name": ""
"type": "char *"
"return_type": "bool"
"signature": "bool absl::str_format_internal::FormatArgImpl::Dispatch<signed char>(absl::str_format_internal::FormatArgImpl::Data, absl::str_format_internal::FormatConversionSpecImpl, void*)"
- "name": "_ZN4absl19str_format_internal13FormatArgImpl8DispatchIcEEbNS1_4DataENS0_24FormatConversionSpecImplEPv"
"params":
- "name": "arg"
"type": "char *"
- "name": "spec"
"type": "size_t"
- "name": "out"
"type": "int"
- "name": ""
"type": "char *"
"return_type": "bool"
"signature": "bool absl::str_format_internal::FormatArgImpl::Dispatch<char>(absl::str_format_internal::FormatArgImpl::Data, absl::str_format_internal::FormatConversionSpecImpl, void*)"
"language": "c++"
"project": "abseil-cpp"
"target_name": "string_escape_fuzzer"
"target_path": "/src/string_escape_fuzzer.cc"
70 changes: 57 additions & 13 deletions benchmark-sets/all/ada-url.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,57 @@
functions:
- bool ada_can_parse_with_base(char * input, size_t input_length, char * base, size_t
base_length)
- bool ada_can_parse(char * input, size_t length)
- char * ada_parse_with_base(char * input, size_t input_length, char * base, size_t
base_length)
- bool ada_set_href(char * result, char * input, size_t length)
- bool ada::url_aggregator::set_href(struct ada::url_aggregator * this, char * input,
size_t )
project: ada-url
target_name: parse
target_path: /src/ada-url/fuzz/parse.cc

"functions":
- "name": "ada_can_parse_with_base"
"params":
- "name": "input"
"type": "char *"
- "name": "input_length"
"type": "size_t"
- "name": "base"
"type": "char *"
- "name": "base_length"
"type": "size_t"
"return_type": "bool"
"signature": "bool ada_can_parse_with_base(char * input, size_t input_length, char * base, size_t base_length)"
- "name": "ada_can_parse"
"params":
- "name": "input"
"type": "char *"
- "name": "length"
"type": "size_t"
"return_type": "bool"
"signature": "bool ada_can_parse(char * input, size_t length)"
- "name": "ada_parse_with_base"
"params":
- "name": "input"
"type": "char *"
- "name": "input_length"
"type": "size_t"
- "name": "base"
"type": "char *"
- "name": "base_length"
"type": "size_t"
"return_type": "char *"
"signature": "char * ada_parse_with_base(char * input, size_t input_length, char * base, size_t base_length)"
- "name": "ada_set_href"
"params":
- "name": "result"
"type": "char *"
- "name": "input"
"type": "char *"
- "name": "length"
"type": "size_t"
"return_type": "bool"
"signature": "bool ada_set_href(char * result, char * input, size_t length)"
- "name": "_ZN3ada14url_aggregator8set_hrefENSt3__117basic_string_viewIcNS1_11char_traitsIcEEEE"
"params":
- "name": "this"
"type": "struct ada::url_aggregator *"
- "name": "input"
"type": "char *"
- "name": ""
"type": "size_t"
"return_type": "bool"
"signature": "ada::url_aggregator::set_href(std::__1::basic_string_view<char, std::__1::char_traits<char> >)"
"language": "c++"
"project": "ada-url"
"target_name": "parse"
"target_path": "/src/ada-url/fuzz/parse.cc"
77 changes: 61 additions & 16 deletions benchmark-sets/all/alembic.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,61 @@
functions:
- void Alembic::AbcCoreOgawa::v12::AprImpl::getSample(Alembic::AbcCoreOgawa::v12::AprImpl
* , size_t , std::shared_ptr * )
- void Alembic::AbcCoreOgawa::v12::ReadArraySample(std::shared_ptr * iDims, std::shared_ptr
* iData, size_t , Alembic::AbcCoreAbstract::v12::DataType * , std::shared_ptr *
)
- void Alembic::AbcCoreFactory::v12::IFactory::getArchive(Alembic::Abc::v12::IArchive
* , Alembic::AbcCoreFactory::v12::IFactory * , std::vector * )
- void Alembic::AbcCoreFactory::v12::IFactory::getArchive(Alembic::Abc::v12::IArchive
* , Alembic::AbcCoreFactory::v12::IFactory * , std::vector * , int * )
- void Alembic::AbcCoreOgawa::v12::SprImpl::getSample(Alembic::AbcCoreOgawa::v12::SprImpl
* , size_t , char * )
project: alembic
target_name: alembic_dump_info_fuzzer
target_path: /src/alembic_dump_info_fuzzer.cc

"functions":
- "name": "_ZN7Alembic12AbcCoreOgawa3v127AprImpl9getSampleElRNSt3__110shared_ptrINS_15AbcCoreAbstract3v1211ArraySampleEEE"
"params":
- "name": ""
"type": "Alembic::AbcCoreOgawa::v12::AprImpl *"
- "name": ""
"type": "size_t"
- "name": ""
"type": "std::shared_ptr *"
"return_type": "void"
"signature": "Alembic::AbcCoreOgawa::v12::AprImpl::getSample(long, std::__1::shared_ptr<Alembic::AbcCoreAbstract::v12::ArraySample>&)"
- "name": "_ZN7Alembic12AbcCoreOgawa3v1215ReadArraySampleENSt3__110shared_ptrINS_5Ogawa3v125IDataEEES7_mRKNS_15AbcCoreAbstract3v128DataTypeERNS3_INS9_11ArraySampleEEE"
"params":
- "name": "iDims"
"type": "std::shared_ptr *"
- "name": "iData"
"type": "std::shared_ptr *"
- "name": ""
"type": "size_t"
- "name": ""
"type": "Alembic::AbcCoreAbstract::v12::DataType *"
- "name": ""
"type": "std::shared_ptr *"
"return_type": "void"
"signature": "Alembic::AbcCoreOgawa::v12::ReadArraySample(std::__1::shared_ptr<Alembic::Ogawa::v12::IData>, std::__1::shared_ptr<Alembic::Ogawa::v12::IData>, unsigned long, Alembic::AbcCoreAbstract::v12::DataType const&, std::__1::shared_ptr<Alembic::AbcCoreAbstract::v12::ArraySample>&)"
- "name": "_ZN7Alembic14AbcCoreFactory3v128IFactory10getArchiveERKNSt3__16vectorINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS8_ISA_EEEE"
"params":
- "name": ""
"type": "Alembic::Abc::v12::IArchive *"
- "name": ""
"type": "Alembic::AbcCoreFactory::v12::IFactory *"
- "name": ""
"type": "std::vector *"
"return_type": "void"
"signature": "Alembic::AbcCoreFactory::v12::IFactory::getArchive(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)"
- "name": "_ZN7Alembic14AbcCoreFactory3v128IFactory10getArchiveERKNSt3__16vectorINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS8_ISA_EEEERNS2_8CoreTypeE"
"params":
- "name": ""
"type": "Alembic::Abc::v12::IArchive *"
- "name": ""
"type": "Alembic::AbcCoreFactory::v12::IFactory *"
- "name": ""
"type": "std::vector *"
- "name": ""
"type": "int *"
"return_type": "void"
"signature": "Alembic::AbcCoreFactory::v12::IFactory::getArchive(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, Alembic::AbcCoreFactory::v12::IFactory::CoreType&)"
- "name": "_ZN7Alembic12AbcCoreOgawa3v127SprImpl9getSampleElPv"
"params":
- "name": ""
"type": "Alembic::AbcCoreOgawa::v12::SprImpl *"
- "name": ""
"type": "size_t"
- "name": ""
"type": "char *"
"return_type": "void"
"signature": "Alembic::AbcCoreOgawa::v12::SprImpl::getSample(long, void*)"
"language": "c++"
"project": "alembic"
"target_name": "alembic_dump_info_fuzzer"
"target_path": "/src/alembic_dump_info_fuzzer.cc"
45 changes: 35 additions & 10 deletions benchmark-sets/all/apache-httpd.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,35 @@
functions:
- void register_hooks(struct apr_pool_t * p)
- void event_hooks(struct apr_pool_t * p)
- int ap_process_http_connection(struct conn_rec * c)
- int ap_process_http_sync_connection(struct conn_rec * c)
- int ap_process_http_async_connection(struct conn_rec * c)
project: apache-httpd
target_name: fuzz_utils
target_path: /src/fuzz_utils.c

"functions":
- "name": "register_hooks"
"params":
- "name": "p"
"type": "struct apr_pool_t *"
"return_type": "void"
"signature": "void register_hooks(struct apr_pool_t * p)"
- "name": "event_hooks"
"params":
- "name": "p"
"type": "struct apr_pool_t *"
"return_type": "void"
"signature": "void event_hooks(struct apr_pool_t * p)"
- "name": "ap_process_http_connection"
"params":
- "name": "c"
"type": "struct conn_rec *"
"return_type": "int"
"signature": "int ap_process_http_connection(struct conn_rec * c)"
- "name": "ap_process_http_sync_connection"
"params":
- "name": "c"
"type": "struct conn_rec *"
"return_type": "int"
"signature": "int ap_process_http_sync_connection(struct conn_rec * c)"
- "name": "ap_process_http_async_connection"
"params":
- "name": "c"
"type": "struct conn_rec *"
"return_type": "int"
"signature": "int ap_process_http_async_connection(struct conn_rec * c)"
"language": "c"
"project": "apache-httpd"
"target_name": "fuzz_utils"
"target_path": "/src/fuzz_utils.c"
46 changes: 31 additions & 15 deletions benchmark-sets/all/arduinojson.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
functions:
- void ArduinoJson::V701HB4::detail::MsgPackDeserializer<ArduinoJson::V701HB4::detail::BoundedReader<unsigned
char const*, void> >::~MsgPackDeserializer(ArduinoJson::V701HB4::detail::MsgPackDeserializer
* this)
- void ArduinoJson::V701HB4::detail::JsonDeserializer<ArduinoJson::V701HB4::detail::BoundedReader<unsigned
char const*, void> >::~JsonDeserializer(ArduinoJson::V701HB4::detail::JsonDeserializer
* this)
- size_t ArduinoJson::V701HB4::SerializedValue<char const*>::size(ArduinoJson::V701HB4::SerializedValue
* this) const
- void ArduinoJson::V701HB4::detail::VariantSlot::operator delete(char * , char *
)
project: arduinojson
target_name: msgpack_fuzzer
target_path: /src/arduinojson/extras/fuzzing/msgpack_fuzzer.cpp

"functions":
- "name": "_ZN11ArduinoJson7V703HB46detail19MsgPackDeserializerINS1_13BoundedReaderIPKhvEEED2Ev"
"params":
- "name": "this"
"type": "ArduinoJson::V703HB4::detail::MsgPackDeserializer *"
"return_type": "void"
"signature": "ArduinoJson::V703HB4::detail::MsgPackDeserializer<ArduinoJson::V703HB4::detail::BoundedReader<unsigned char const*, void> >::~MsgPackDeserializer()"
- "name": "_ZN11ArduinoJson7V703HB46detail16JsonDeserializerINS1_13BoundedReaderIPKhvEEED2Ev"
"params":
- "name": "this"
"type": "ArduinoJson::V703HB4::detail::JsonDeserializer *"
"return_type": "void"
"signature": "ArduinoJson::V703HB4::detail::JsonDeserializer<ArduinoJson::V703HB4::detail::BoundedReader<unsigned char const*, void> >::~JsonDeserializer()"
- "name": "_ZNK11ArduinoJson7V703HB415SerializedValueIPKcE4sizeEv"
"params":
- "name": "this"
"type": "ArduinoJson::V703HB4::SerializedValue *"
"return_type": "size_t"
"signature": "ArduinoJson::V703HB4::SerializedValue<char const*>::size() const"
- "name": "_ZN11ArduinoJson7V703HB46detail11VariantSlotdlEPvS3_"
"params":
- "name": ""
"type": "char *"
- "name": ""
"type": "char *"
"return_type": "void"
"signature": "ArduinoJson::V703HB4::detail::VariantSlot::operator delete(void*, void*)"
"language": "c++"
"project": "arduinojson"
"target_name": "msgpack_fuzzer"
"target_path": "/src/arduinojson/extras/fuzzing/msgpack_fuzzer.cpp"
Loading

0 comments on commit a93f8e6

Please sign in to comment.