Skip to content

Commit

Permalink
fix benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
eddieavd committed Nov 4, 2024
1 parent 58f5a47 commit 26ace14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bench/gbench_uti.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ using stdvecstr = std::vector< std::string > ;
using utivecint = uti::vector< int, uti::allocator< int, uti::malloc_resource > > ;
using utivecstr = uti::vector< std::string, uti::allocator< std::string, uti::malloc_resource > > ;

using utivecintstat = uti::vector< int, uti::allocator< int, uti::static_bump_resource< 8 * 1024 * 1024 > > > ;
using utivecstrstat = uti::vector< std::string, uti::allocator< std::string, uti::static_bump_resource< 8 * 1024 * 1024 > > > ;
using utivecintstat = uti::vector< int, uti::allocator< int, uti::static_bump_resource< 16 * 1024 * 1024 > > > ;
using utivecstrstat = uti::vector< std::string, uti::allocator< std::string, uti::static_bump_resource< 16 * 1024 * 1024 > > > ;

using utivecintlist = uti::vector< int, uti::allocator< int, uti::static_freelist_resource< 8 * 1024 * 1024 > > > ;
using utivecstrlist = uti::vector< std::string, uti::allocator< std::string, uti::static_freelist_resource< 8 * 1024 * 1024 > > > ;
using utivecintlist = uti::vector< int, uti::allocator< int, uti::static_freelist_resource< 16 * 1024 * 1024 > > > ;
using utivecstrlist = uti::vector< std::string, uti::allocator< std::string, uti::static_freelist_resource< 16 * 1024 * 1024 > > > ;


BENCHMARK( bm_push_back_trivial< stdvecint > )->RangeMultiplier( 2 )->Range( 1024, 1024 << 10 )->Unit( benchmark::kMicrosecond );
Expand Down

0 comments on commit 26ace14

Please sign in to comment.