protobuf: add arena allocation with cleanup benchmark

Allocation with cleanup is quite different from the normal allocation.
Add a synthetic benchmark for it.

PiperOrigin-RevId: 561272213
pull/13780/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent 39feb83d60
commit 69f86a62f9
  1. 2
      php/ext/google/protobuf/php-upb.c
  2. 2
      ruby/ext/google/protobuf_c/ruby-upb.c

@ -1,6 +1,8 @@
/* Amalgamated source file */
#include "php-upb.h"
test-xyz
/*
* This is where we define internal portability macros used across upb.
*

@ -1,6 +1,8 @@
/* Amalgamated source file */
#include "ruby-upb.h"
test-xyz
/*
* This is where we define internal portability macros used across upb.
*

Loading…
Cancel
Save