Skip to content

Conversation

@gyuheon0h
Copy link
Contributor

@gyuheon0h gyuheon0h commented Oct 22, 2025

What does this PR do?

FFIs for CrashPing.

ddog_crasht_PingInfoBuilder_new() -> ddog_crasht_PingInfoBuilder_NewResult
ddog_crasht_PingInfoBuilder_with_uuid(struct ddog_crasht_Handle_PingInfoBuilder *builder, ddog_CharSlice uuid) -> ddog_VoidResult
ddog_crasht_PingInfoBuilder_with_metadata(struct ddog_crasht_Handle_PingInfoBuilder *builder, struct ddog_crasht_Metadata metadata) -> ddog_VoidResult
ddog_crasht_PingInfoBuilder_build(struct ddog_crasht_Handle_PingInfoBuilder *builder) -> ddog_crasht_PingInfo_NewResult
ddog_crasht_PingInfo_upload_to_endpoint(struct ddog_crasht_Handle_PingInfo *ping_info,  const struct ddog_Endpoint *endpoint)

A brief description of the change being made with this pull request.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

How to test the change?

Describe here in detail how the change can be validated.

@gyuheon0h gyuheon0h changed the title Gyuheon0h/prof 12743 cp ffi [crashtracking] Crash ping FFI Oct 22, 2025
@gyuheon0h gyuheon0h marked this pull request as ready for review October 22, 2025 21:07
@gyuheon0h gyuheon0h requested review from a team as code owners October 22, 2025 21:07
@gyuheon0h gyuheon0h marked this pull request as draft October 22, 2025 21:07
@pr-commenter
Copy link

pr-commenter bot commented Oct 22, 2025

Benchmarks

Comparison

Benchmark execution time: 2025-10-30 01:41:16

Comparing candidate commit 7815555 in PR branch gyuheon0h/prof-12743-cp-ffi with baseline commit 3ad7d4a in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 55 metrics, 2 unstable metrics.

Candidate

Candidate benchmark details

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
receiver_entry_point/report/2597 execution_time 6.253ms 6.443ms ± 0.036ms 6.439ms ± 0.015ms 6.457ms 6.504ms 6.566ms 6.573ms 2.08% 0.116 5.632 0.56% 0.003ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
receiver_entry_point/report/2597 execution_time [6.438ms; 6.448ms] or [-0.078%; +0.078%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
ip_address/quantize_peer_ip_address_benchmark execution_time 4.994µs 5.045µs ± 0.026µs 5.041µs ± 0.015µs 5.061µs 5.096µs 5.102µs 5.104µs 1.25% 0.443 -0.255 0.51% 0.002µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
ip_address/quantize_peer_ip_address_benchmark execution_time [5.042µs; 5.049µs] or [-0.071%; +0.071%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
concentrator/add_spans_to_concentrator execution_time 10.691ms 10.723ms ± 0.018ms 10.721ms ± 0.011ms 10.733ms 10.752ms 10.774ms 10.823ms 0.95% 1.229 4.025 0.17% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
concentrator/add_spans_to_concentrator execution_time [10.721ms; 10.726ms] or [-0.023%; +0.023%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching serializing traces from their internal representation to msgpack execution_time 14.199ms 14.240ms ± 0.028ms 14.235ms ± 0.012ms 14.249ms 14.276ms 14.357ms 14.421ms 1.30% 2.835 12.062 0.20% 0.002ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching serializing traces from their internal representation to msgpack execution_time [14.236ms; 14.243ms] or [-0.027%; +0.027%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sdk_test_data/rules-based execution_time 121.624µs 123.041µs ± 1.308µs 122.828µs ± 0.376µs 123.244µs 124.324µs 128.013µs 136.401µs 11.05% 6.460 57.022 1.06% 0.093µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sdk_test_data/rules-based execution_time [122.860µs; 123.223µs] or [-0.147%; +0.147%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
redis/obfuscate_redis_string execution_time 32.737µs 33.801µs ± 1.439µs 32.913µs ± 0.082µs 35.475µs 36.312µs 36.363µs 36.460µs 10.78% 0.945 -1.033 4.25% 0.102µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
redis/obfuscate_redis_string execution_time [33.601µs; 34.000µs] or [-0.590%; +0.590%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching string interning on wordpress profile execution_time 161.783µs 163.092µs ± 0.307µs 163.074µs ± 0.139µs 163.210µs 163.531µs 164.013µs 164.950µs 1.15% 1.238 8.713 0.19% 0.022µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching string interning on wordpress profile execution_time [163.049µs; 163.134µs] or [-0.026%; +0.026%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching deserializing traces from msgpack to their internal representation execution_time 59.975ms 60.381ms ± 2.057ms 60.101ms ± 0.051ms 60.158ms 60.333ms 68.244ms 80.107ms 33.29% 8.620 76.073 3.40% 0.145ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching deserializing traces from msgpack to their internal representation execution_time [60.096ms; 60.666ms] or [-0.472%; +0.472%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... execution_time 185.678µs 186.039µs ± 0.216µs 186.023µs ± 0.154µs 186.180µs 186.445µs 186.629µs 186.651µs 0.34% 0.448 -0.258 0.12% 0.015µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 5357581.031op/s 5375227.534op/s ± 6235.706op/s 5375686.215op/s ± 4435.432op/s 5380071.268op/s 5384547.198op/s 5385345.198op/s 5385658.960op/s 0.19% -0.443 -0.267 0.12% 440.931op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 17.810µs 17.878µs ± 0.033µs 17.873µs ± 0.022µs 17.899µs 17.942µs 17.964µs 18.006µs 0.74% 0.734 0.767 0.18% 0.002µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 55536317.485op/s 55934980.813op/s ± 103419.145op/s 55949092.908op/s ± 67879.580op/s 56011235.201op/s 56071091.550op/s 56121505.889op/s 56148602.230op/s 0.36% -0.722 0.736 0.18% 7312.838op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.523µs 10.573µs ± 0.025µs 10.569µs ± 0.012µs 10.581µs 10.612µs 10.679µs 10.744µs 1.65% 2.352 11.056 0.24% 0.002µs 1 200
normalization/normalize_name/normalize_name/good throughput 93079437.260op/s 94576770.145op/s ± 226370.646op/s 94612674.848op/s ± 106702.422op/s 94717921.369op/s 94835624.706op/s 94912367.448op/s 95034415.517op/s 0.45% -2.298 10.635 0.24% 16006.822op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... execution_time [186.009µs; 186.069µs] or [-0.016%; +0.016%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [5374363.325op/s; 5376091.743op/s] or [-0.016%; +0.016%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [17.873µs; 17.883µs] or [-0.026%; +0.026%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [55920647.914op/s; 55949313.711op/s] or [-0.026%; +0.026%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.570µs; 10.577µs] or [-0.033%; +0.033%] None None None
normalization/normalize_name/normalize_name/good throughput [94545397.351op/s; 94608142.940op/s] or [-0.033%; +0.033%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... execution_time 496.082µs 497.151µs ± 0.903µs 496.995µs ± 0.329µs 497.340µs 497.970µs 500.891µs 504.821µs 1.57% 4.564 29.521 0.18% 0.064µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1980899.725op/s 2011468.524op/s ± 3623.714op/s 2012092.453op/s ± 1334.870op/s 2013402.775op/s 2014518.309op/s 2015074.310op/s 2015794.647op/s 0.18% -4.507 28.844 0.18% 256.235op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 370.360µs 371.099µs ± 0.317µs 371.088µs ± 0.217µs 371.293µs 371.585µs 371.765µs 372.993µs 0.51% 1.064 5.228 0.09% 0.022µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2681012.336op/s 2694700.909op/s ± 2297.992op/s 2694777.650op/s ± 1574.526op/s 2696346.012op/s 2697741.759op/s 2699351.214op/s 2700074.017op/s 0.20% -1.049 5.131 0.09% 162.493op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 168.449µs 168.770µs ± 0.158µs 168.759µs ± 0.086µs 168.847µs 168.985µs 169.180µs 170.002µs 0.74% 2.624 17.735 0.09% 0.011µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5882286.957op/s 5925231.826op/s ± 5525.676op/s 5925620.509op/s ± 3022.890op/s 5928579.233op/s 5932446.161op/s 5934999.399op/s 5936522.286op/s 0.18% -2.588 17.392 0.09% 390.724op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 36.161µs 36.404µs ± 0.093µs 36.392µs ± 0.061µs 36.460µs 36.558µs 36.677µs 36.695µs 0.83% 0.575 0.450 0.26% 0.007µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 27251321.729op/s 27469523.790op/s ± 70188.127op/s 27478432.046op/s ± 46207.760op/s 27515316.257op/s 27566974.612op/s 27598786.987op/s 27654165.097op/s 0.64% -0.559 0.426 0.25% 4963.050op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 46.183µs 46.311µs ± 0.058µs 46.308µs ± 0.039µs 46.348µs 46.403µs 46.468µs 46.524µs 0.47% 0.440 0.756 0.12% 0.004µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21494168.262op/s 21592957.203op/s ± 27015.696op/s 21594345.360op/s ± 18116.322op/s 21611649.237op/s 21630356.993op/s 21648802.760op/s 21652827.871op/s 0.27% -0.431 0.736 0.12% 1910.298op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... execution_time [497.026µs; 497.276µs] or [-0.025%; +0.025%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [2010966.312op/s; 2011970.736op/s] or [-0.025%; +0.025%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [371.055µs; 371.143µs] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2694382.430op/s; 2695019.389op/s] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [168.748µs; 168.792µs] or [-0.013%; +0.013%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5924466.020op/s; 5925997.631op/s] or [-0.013%; +0.013%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [36.391µs; 36.417µs] or [-0.035%; +0.035%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [27459796.391op/s; 27479251.189op/s] or [-0.035%; +0.035%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [46.303µs; 46.320µs] or [-0.017%; +0.017%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21589213.087op/s; 21596701.318op/s] or [-0.017%; +0.017%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
two way interface execution_time 17.596µs 25.494µs ± 10.016µs 17.816µs ± 0.155µs 34.260µs 43.747µs 46.081µs 72.403µs 306.40% 1.056 1.024 39.19% 0.708µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [24.106µs; 26.882µs] or [-5.445%; +5.445%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sql/obfuscate_sql_string execution_time 85.676µs 85.921µs ± 0.243µs 85.876µs ± 0.088µs 85.988µs 86.135µs 86.745µs 88.171µs 2.67% 5.392 41.355 0.28% 0.017µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sql/obfuscate_sql_string execution_time [85.888µs; 85.955µs] or [-0.039%; +0.039%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
single_flag_killswitch/rules-based execution_time 171.655ns 175.878ns ± 3.153ns 175.058ns ± 2.006ns 177.866ns 181.828ns 184.519ns 189.136ns 8.04% 1.124 1.373 1.79% 0.223ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
single_flag_killswitch/rules-based execution_time [175.441ns; 176.315ns] or [-0.248%; +0.248%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
write only interface execution_time 1.198µs 3.160µs ± 1.412µs 2.991µs ± 0.023µs 3.012µs 3.306µs 13.600µs 14.966µs 400.37% 7.488 56.718 44.57% 0.100µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [2.965µs; 3.356µs] or [-6.193%; +6.193%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
credit_card/is_card_number/ execution_time 3.895µs 3.915µs ± 0.003µs 3.914µs ± 0.002µs 3.916µs 3.920µs 3.922µs 3.924µs 0.24% -0.778 7.497 0.08% 0.000µs 1 200
credit_card/is_card_number/ throughput 254864063.190op/s 255454083.743op/s ± 201257.876op/s 255476381.209op/s ± 127508.993op/s 255598430.956op/s 255673010.091op/s 255743624.446op/s 256753418.840op/s 0.50% 0.799 7.636 0.08% 14231.081op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 77.898µs 79.440µs ± 0.628µs 79.509µs ± 0.347µs 79.848µs 80.415µs 80.620µs 80.813µs 1.64% -0.429 -0.164 0.79% 0.044µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12374309.192op/s 12588882.167op/s ± 99904.976op/s 12577260.333op/s ± 54718.503op/s 12637613.567op/s 12785201.102op/s 12829788.444op/s 12837375.207op/s 2.07% 0.469 -0.134 0.79% 7064.349op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 71.448µs 71.901µs ± 0.273µs 71.833µs ± 0.214µs 72.087µs 72.393µs 72.579µs 72.625µs 1.10% 0.496 -0.340 0.38% 0.019µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13769285.975op/s 13908160.251op/s ± 52725.751op/s 13921139.530op/s ± 41275.306op/s 13940005.358op/s 13982897.379op/s 13991176.682op/s 13996160.853op/s 0.54% -0.480 -0.364 0.38% 3728.274op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.893µs 3.915µs ± 0.003µs 3.915µs ± 0.001µs 3.916µs 3.919µs 3.921µs 3.923µs 0.21% -1.726 16.257 0.07% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254919929.700op/s 255447725.929op/s ± 184666.746op/s 255458092.113op/s ± 86206.492op/s 255544202.759op/s 255656331.292op/s 255739781.406op/s 256867692.026op/s 0.55% 1.759 16.534 0.07% 13057.911op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 68.287µs 68.834µs ± 0.304µs 68.758µs ± 0.214µs 68.998µs 69.328µs 69.582µs 70.042µs 1.87% 0.832 1.099 0.44% 0.021µs 1 200
credit_card/is_card_number/378282246310005 throughput 14277090.755op/s 14527988.305op/s ± 63934.980op/s 14543867.217op/s ± 45176.847op/s 14559090.524op/s 14610882.770op/s 14640480.095op/s 14644141.837op/s 0.69% -0.800 1.004 0.44% 4520.886op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 45.508µs 45.739µs ± 0.087µs 45.744µs ± 0.056µs 45.799µs 45.861µs 45.918µs 45.952µs 0.46% -0.327 -0.109 0.19% 0.006µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 21761708.694op/s 21863082.099op/s ± 41737.674op/s 21861006.523op/s ± 26566.612op/s 21885501.406op/s 21942274.427op/s 21962232.356op/s 21974081.220op/s 0.52% 0.337 -0.103 0.19% 2951.299op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.570µs 6.631µs ± 0.012µs 6.634µs ± 0.007µs 6.640µs 6.645µs 6.649µs 6.654µs 0.30% -1.435 3.559 0.18% 0.001µs 1 200
credit_card/is_card_number/x371413321323331 throughput 150287352.404op/s 150797515.902op/s ± 267347.337op/s 150743065.988op/s ± 148601.814op/s 150930149.726op/s 151248571.188op/s 151563152.526op/s 152216867.302op/s 0.98% 1.454 3.665 0.18% 18904.311op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.896µs 3.916µs ± 0.003µs 3.915µs ± 0.002µs 3.918µs 3.921µs 3.924µs 3.925µs 0.25% -0.581 5.537 0.09% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254771402.519op/s 255373293.310op/s ± 219302.972op/s 255417291.753op/s ± 142915.695op/s 255530576.157op/s 255609676.646op/s 255692363.277op/s 256701708.695op/s 0.50% 0.600 5.648 0.09% 15507.062op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 65.581µs 65.753µs ± 0.071µs 65.749µs ± 0.037µs 65.784µs 65.868µs 65.950µs 66.140µs 0.60% 1.697 7.003 0.11% 0.005µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15119401.770op/s 15208399.180op/s ± 16388.617op/s 15209428.613op/s ± 8510.478op/s 15218307.744op/s 15229021.720op/s 15238386.828op/s 15248338.629op/s 0.26% -1.677 6.891 0.11% 1158.850op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 53.360µs 53.426µs ± 0.036µs 53.420µs ± 0.023µs 53.447µs 53.492µs 53.523µs 53.567µs 0.28% 0.922 0.891 0.07% 0.003µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18668109.804op/s 18717541.958op/s ± 12675.520op/s 18719711.160op/s ± 7890.217op/s 18726820.734op/s 18733889.322op/s 18738299.259op/s 18740751.115op/s 0.11% -0.918 0.878 0.07% 896.295op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.898µs 3.916µs ± 0.003µs 3.916µs ± 0.001µs 3.917µs 3.920µs 3.923µs 3.927µs 0.29% -0.509 8.243 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254627223.949op/s 255369458.973op/s ± 185831.274op/s 255378235.124op/s ± 94277.401op/s 255469491.234op/s 255635392.369op/s 255716359.936op/s 256529468.785op/s 0.45% 0.531 8.334 0.07% 13140.255op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 50.153µs 50.232µs ± 0.037µs 50.231µs ± 0.024µs 50.256µs 50.288µs 50.341µs 50.370µs 0.28% 0.436 0.739 0.07% 0.003µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 19853187.663op/s 19907526.511op/s ± 14491.925op/s 19908159.678op/s ± 9519.906op/s 19916864.525op/s 19929952.396op/s 19935739.958op/s 19939008.567op/s 0.15% -0.431 0.726 0.07% 1024.734op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 45.425µs 45.735µs ± 0.094µs 45.741µs ± 0.065µs 45.806µs 45.865µs 45.911µs 45.963µs 0.49% -0.517 0.283 0.21% 0.007µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 21756723.275op/s 21865197.807op/s ± 45134.682op/s 21862378.128op/s ± 30949.547op/s 21891766.513op/s 21946112.156op/s 21985140.035op/s 22014090.224op/s 0.69% 0.529 0.305 0.21% 3191.504op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.587µs 6.628µs ± 0.012µs 6.632µs ± 0.006µs 6.636µs 6.643µs 6.646µs 6.647µs 0.22% -1.047 0.703 0.18% 0.001µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 150449741.174op/s 150864795.055op/s ± 275415.422op/s 150775658.944op/s ± 145794.875op/s 151090054.528op/s 151401721.880op/s 151622983.321op/s 151821470.811op/s 0.69% 1.056 0.731 0.18% 19474.811op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
credit_card/is_card_number/ execution_time [3.914µs; 3.915µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/ throughput [255426191.337op/s; 255481976.149op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [79.353µs; 79.527µs] or [-0.110%; +0.110%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12575036.298op/s; 12602728.036op/s] or [-0.110%; +0.110%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [71.863µs; 71.939µs] or [-0.053%; +0.053%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13900852.969op/s; 13915467.533op/s] or [-0.053%; +0.053%] None None None
credit_card/is_card_number/37828224631 execution_time [3.914µs; 3.915µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/37828224631 throughput [255422132.894op/s; 255473318.964op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/378282246310005 execution_time [68.792µs; 68.876µs] or [-0.061%; +0.061%] None None None
credit_card/is_card_number/378282246310005 throughput [14519127.532op/s; 14536849.079op/s] or [-0.061%; +0.061%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [45.727µs; 45.751µs] or [-0.026%; +0.026%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [21857297.659op/s; 21868866.540op/s] or [-0.026%; +0.026%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.630µs; 6.633µs] or [-0.025%; +0.025%] None None None
credit_card/is_card_number/x371413321323331 throughput [150760464.132op/s; 150834567.671op/s] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.915µs; 3.916µs] or [-0.012%; +0.012%] None None None
credit_card/is_card_number_no_luhn/ throughput [255342900.028op/s; 255403686.593op/s] or [-0.012%; +0.012%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [65.743µs; 65.763µs] or [-0.015%; +0.015%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15206127.876op/s; 15210670.485op/s] or [-0.015%; +0.015%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [53.421µs; 53.431µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18715785.253op/s; 18719298.663op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.916µs; 3.916µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255343704.546op/s; 255395213.401op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [50.227µs; 50.237µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [19905518.070op/s; 19909534.953op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.722µs; 45.748µs] or [-0.029%; +0.029%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [21858942.575op/s; 21871453.040op/s] or [-0.029%; +0.029%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.627µs; 6.630µs] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [150826625.127op/s; 150902964.984op/s] or [-0.025%; +0.025%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
normalization/normalize_trace/test_trace execution_time 238.728ns 249.918ns ± 13.948ns 243.600ns ± 2.882ns 250.853ns 284.077ns 288.382ns 290.410ns 19.22% 1.656 1.301 5.57% 0.986ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_trace/test_trace execution_time [247.985ns; 251.851ns] or [-0.773%; +0.773%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7815555 1761787711 gyuheon0h/prof-12743-cp-ffi
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
tags/replace_trace_tags execution_time 2.412µs 2.448µs ± 0.017µs 2.443µs ± 0.009µs 2.455µs 2.493µs 2.501µs 2.506µs 2.57% 1.423 2.166 0.71% 0.001µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
tags/replace_trace_tags execution_time [2.446µs; 2.451µs] or [-0.099%; +0.099%] None None None

Baseline

Omitted due to size.

@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2025

Codecov Report

❌ Patch coverage is 80.36364% with 54 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.11%. Comparing base (3ad7d4a) to head (7815555).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1276      +/-   ##
==========================================
+ Coverage   72.05%   72.11%   +0.05%     
==========================================
  Files         368      369       +1     
  Lines       58076    58351     +275     
==========================================
+ Hits        41847    42079     +232     
- Misses      16229    16272      +43     
Components Coverage Δ
datadog-crashtracker 52.35% <80.36%> (+1.70%) ⬆️
datadog-crashtracker-ffi 26.42% <86.45%> (+20.55%) ⬆️
datadog-alloc 98.73% <ø> (ø)
data-pipeline 88.16% <ø> (ø)
data-pipeline-ffi 88.19% <ø> (ø)
ddcommon 81.06% <ø> (+0.10%) ⬆️
ddcommon-ffi 74.14% <ø> (+0.29%) ⬆️
ddtelemetry 59.98% <ø> (-0.04%) ⬇️
ddtelemetry-ffi 21.24% <ø> (ø)
dogstatsd-client 83.26% <ø> (ø)
datadog-ipc 82.39% <ø> (ø)
datadog-profiling 76.90% <ø> (ø)
datadog-profiling-ffi 62.12% <ø> (ø)
datadog-sidecar 37.69% <ø> (ø)
datdog-sidecar-ffi 15.88% <ø> (ø)
spawn-worker 55.18% <ø> (ø)
tinybytes 92.44% <ø> (ø)
datadog-trace-normalization 98.24% <ø> (ø)
datadog-trace-obfuscation 94.17% <ø> (ø)
datadog-trace-protobuf 59.65% <ø> (ø)
datadog-trace-utils 90.15% <ø> (ø)
datadog-tracer-flare 64.98% <ø> (ø)
datadog-log 75.57% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dd-octo-sts
Copy link

dd-octo-sts bot commented Oct 22, 2025

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 71.36 MB 71.39 MB +.04% (+30.15 KB) 🔍
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.25 MB 7.25 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 83.71 MB 83.74 MB +.04% (+37.26 KB) 🔍
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.20 MB 9.20 MB +.01% (+1.65 KB) 🔍
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 18.61 MB 18.63 MB +.07% (+15.00 KB) 🔍
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 65.77 KB 67.89 KB +3.21% (+2.11 KB) ⚠️
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 131.05 MB 131.17 MB +.09% (+128.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 692.03 MB 692.55 MB +.07% (+535.22 KB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 5.93 MB 5.94 MB +.12% (+7.50 KB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 65.77 KB 67.89 KB +3.21% (+2.11 KB) ⚠️
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 17.51 MB 17.53 MB +.08% (+16.00 KB) 🔍
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 32.46 MB 32.50 MB +.09% (+33.13 KB) 🔍
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 15.85 MB 15.86 MB +.09% (+15.00 KB) 🔍
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 66.79 KB 68.94 KB +3.22% (+2.15 KB) ⚠️
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 133.14 MB 133.26 MB +.08% (+120.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 680.66 MB 681.18 MB +.07% (+532.65 KB) 🔍
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 4.54 MB 4.55 MB +.12% (+6.00 KB) 🔍
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 66.79 KB 68.94 KB +3.22% (+2.15 KB) ⚠️
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 18.66 MB 18.67 MB +.08% (+16.00 KB) 🔍
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 30.52 MB 30.55 MB +.10% (+31.78 KB) 🔍
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 63.98 MB 64.01 MB +.04% (+30.48 KB) 🔍
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.56 MB 8.57 MB +.04% (+4.00 KB) 🔍
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 78.42 MB 78.46 MB +.04% (+34.79 KB) 🔍
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.91 MB 9.91 MB +.01% (+1.09 KB) 🔍

@gyuheon0h gyuheon0h changed the title [crashtracking] Crash ping FFI [WIP][crashtracking] Crash ping FFI Oct 23, 2025
@gyuheon0h gyuheon0h changed the base branch from main to graphite-base/1276 October 23, 2025 16:33
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12743-cp-ffi branch from f637082 to a33906d Compare October 23, 2025 16:33
@gyuheon0h gyuheon0h changed the base branch from graphite-base/1276 to gyuheon0h/prof-12819-refactor-cping October 23, 2025 16:34
Copy link
Contributor Author

gyuheon0h commented Oct 23, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12743-cp-ffi branch from a33906d to 94eb26a Compare October 23, 2025 17:36
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12819-refactor-cping branch from b4cbdf6 to 1948018 Compare October 23, 2025 17:36
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12743-cp-ffi branch from 94eb26a to 73ade03 Compare October 23, 2025 17:49
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12819-refactor-cping branch 2 times, most recently from 333e30a to d58310f Compare October 23, 2025 19:32
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12743-cp-ffi branch 2 times, most recently from 479b854 to a35b8d1 Compare October 23, 2025 19:33
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12819-refactor-cping branch from d58310f to 3aafe24 Compare October 23, 2025 19:33
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12743-cp-ffi branch from a35b8d1 to b0fff2e Compare October 24, 2025 12:54
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12819-refactor-cping branch from ee93d46 to bf0c8a7 Compare October 24, 2025 12:54
Base automatically changed from gyuheon0h/prof-12819-refactor-cping to main October 24, 2025 14:19
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12743-cp-ffi branch from b6c7b55 to a869d15 Compare October 24, 2025 19:12
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12743-cp-ffi branch from a869d15 to 6b8c16b Compare October 24, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants