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-24 19:36:36

Comparing candidate commit 6b8c16b in PR branch gyuheon0h/prof-12743-cp-ffi with baseline commit c4cdaa2 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 6b8c16b 1761333767 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.658µs 186.051µs ± 0.230µs 186.025µs ± 0.138µs 186.171µs 186.423µs 186.700µs 187.451µs 0.77% 1.745 7.323 0.12% 0.016µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 5334722.495op/s 5374866.457op/s ± 6641.437op/s 5375624.085op/s ± 3996.166op/s 5379331.640op/s 5383696.522op/s 5385311.180op/s 5386250.008op/s 0.20% -1.721 7.166 0.12% 469.621op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 17.812µs 17.867µs ± 0.027µs 17.865µs ± 0.019µs 17.887µs 17.914µs 17.936µs 17.939µs 0.41% 0.232 -0.341 0.15% 0.002µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 55745564.129op/s 55968622.955op/s ± 85039.352op/s 55974620.502op/s ± 58643.506op/s 56026800.585op/s 56103745.727op/s 56128952.119op/s 56140576.002op/s 0.30% -0.225 -0.347 0.15% 6013.190op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.548µs 10.592µs ± 0.020µs 10.587µs ± 0.014µs 10.610µs 10.624µs 10.640µs 10.646µs 0.56% 0.272 -0.614 0.19% 0.001µs 1 200
normalization/normalize_name/normalize_name/good throughput 93931725.867op/s 94410223.240op/s ± 181004.711op/s 94457120.419op/s ± 129378.954op/s 94548914.828op/s 94640073.807op/s 94790827.523op/s 94801366.002op/s 0.36% -0.264 -0.617 0.19% 12798.966op/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.019µs; 186.083µs] or [-0.017%; +0.017%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [5373946.017op/s; 5375786.896op/s] or [-0.017%; +0.017%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [17.863µs; 17.871µs] or [-0.021%; +0.021%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [55956837.318op/s; 55980408.591op/s] or [-0.021%; +0.021%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.589µs; 10.595µs] or [-0.027%; +0.027%] None None None
normalization/normalize_name/normalize_name/good throughput [94385137.728op/s; 94435308.752op/s] or [-0.027%; +0.027%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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 5.017µs 5.081µs ± 0.052µs 5.058µs ± 0.020µs 5.102µs 5.178µs 5.181µs 5.192µs 2.66% 0.930 -0.730 1.02% 0.004µ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.074µs; 5.088µs] or [-0.142%; +0.142%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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 62.837ms 63.211ms ± 1.502ms 62.986ms ± 0.048ms 63.050ms 63.452ms 73.418ms 77.131ms 22.46% 8.017 64.110 2.37% 0.106ms 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 [63.003ms; 63.420ms] or [-0.329%; +0.329%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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.311µs 2.385µs ± 0.019µs 2.388µs ± 0.004µs 2.394µs 2.404µs 2.415µs 2.418µs 1.26% -2.190 5.310 0.78% 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.383µs; 2.388µs] or [-0.108%; +0.108%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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.284µs 122.825µs ± 2.201µs 122.542µs ± 0.368µs 122.904µs 123.679µs 129.010µs 148.065µs 20.83% 8.816 90.956 1.79% 0.156µ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.520µs; 123.130µs] or [-0.248%; +0.248%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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.558ms 14.612ms ± 0.032ms 14.607ms ± 0.016ms 14.624ms 14.676ms 14.713ms 14.777ms 1.16% 1.665 4.479 0.22% 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.608ms; 14.617ms] or [-0.030%; +0.030%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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.223µs 496.997µs ± 0.577µs 496.922µs ± 0.258µs 497.190µs 497.735µs 500.170µs 500.863µs 0.79% 3.614 20.259 0.12% 0.041µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1996555.941op/s 2012086.141op/s ± 2325.278op/s 2012386.913op/s ± 1043.564op/s 2013423.382op/s 2014506.608op/s 2014794.865op/s 2015222.769op/s 0.14% -3.582 19.996 0.12% 164.422op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 370.237µs 371.023µs ± 0.311µs 371.002µs ± 0.219µs 371.222µs 371.589µs 371.830µs 371.853µs 0.23% 0.291 -0.218 0.08% 0.022µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2689234.724op/s 2695255.665op/s ± 2257.469op/s 2695406.103op/s ± 1587.147op/s 2696902.698op/s 2698580.771op/s 2699329.607op/s 2700974.523op/s 0.21% -0.287 -0.222 0.08% 159.627op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 168.367µs 168.701µs ± 0.132µs 168.693µs ± 0.088µs 168.780µs 168.952µs 169.066µs 169.125µs 0.26% 0.486 0.329 0.08% 0.009µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5912786.401op/s 5927655.252op/s ± 4626.475op/s 5927929.066op/s ± 3092.772op/s 5931044.300op/s 5933891.918op/s 5937088.751op/s 5939416.023op/s 0.19% -0.481 0.322 0.08% 327.141op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 36.259µs 36.477µs ± 0.098µs 36.474µs ± 0.067µs 36.549µs 36.637µs 36.681µs 36.737µs 0.72% 0.003 -0.524 0.27% 0.007µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 27220853.351op/s 27414436.330op/s ± 73770.983op/s 27416823.210op/s ± 50817.082op/s 27467065.578op/s 27538708.721op/s 27568394.302op/s 27579104.578op/s 0.59% 0.009 -0.526 0.27% 5216.396op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 46.186µs 46.330µs ± 0.068µs 46.324µs ± 0.044µs 46.371µs 46.437µs 46.512µs 46.616µs 0.63% 0.598 1.140 0.15% 0.005µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21451688.176op/s 21584558.805op/s ± 31877.479op/s 21587040.871op/s ± 20435.320op/s 21604221.465op/s 21631846.404op/s 21648694.635op/s 21651686.907op/s 0.30% -0.585 1.106 0.15% 2254.078op/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 [496.917µs; 497.077µs] or [-0.016%; +0.016%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [2011763.880op/s; 2012408.403op/s] or [-0.016%; +0.016%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [370.979µs; 371.066µs] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2694942.801op/s; 2695568.528op/s] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [168.683µs; 168.719µs] or [-0.011%; +0.011%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5927014.067op/s; 5928296.437op/s] or [-0.011%; +0.011%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [36.464µs; 36.491µs] or [-0.037%; +0.037%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [27404212.382op/s; 27424660.279op/s] or [-0.037%; +0.037%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [46.320µs; 46.339µs] or [-0.020%; +0.020%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21580140.893op/s; 21588976.717op/s] or [-0.020%; +0.020%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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.892µs 3.912µs ± 0.002µs 3.912µs ± 0.001µs 3.913µs 3.916µs 3.916µs 3.917µs 0.14% -2.631 22.585 0.06% 0.000µs 1 200
credit_card/is_card_number/ throughput 255280822.388op/s 255620303.365op/s ± 158589.406op/s 255628246.921op/s ± 84008.465op/s 255708938.401op/s 255808716.891op/s 255860820.683op/s 256947716.468op/s 0.52% 2.664 22.917 0.06% 11213.964op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 79.129µs 81.398µs ± 1.085µs 81.427µs ± 0.719µs 82.123µs 83.095µs 83.984µs 84.483µs 3.75% 0.020 -0.258 1.33% 0.077µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 11836745.299op/s 12287466.983op/s ± 163817.248op/s 12280940.596op/s ± 108442.726op/s 12401075.931op/s 12596210.866op/s 12621094.355op/s 12637661.897op/s 2.90% 0.048 -0.299 1.33% 11583.629op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 71.521µs 72.521µs ± 0.487µs 72.487µs ± 0.317µs 72.796µs 73.367µs 73.771µs 74.081µs 2.20% 0.455 0.111 0.67% 0.034µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13498650.038op/s 13789757.684op/s ± 92264.118op/s 13795606.059op/s ± 60297.799op/s 13857939.263op/s 13924870.415op/s 13963533.286op/s 13981897.567op/s 1.35% -0.417 0.055 0.67% 6524.058op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.893µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.916µs 3.918µs 3.933µs 0.53% 0.538 17.605 0.08% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254255723.341op/s 255601512.075op/s ± 195778.534op/s 255613620.254op/s ± 98889.628op/s 255712337.132op/s 255831101.729op/s 255861707.911op/s 256850674.959op/s 0.48% -0.493 17.558 0.08% 13843.633op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 68.441µs 69.073µs ± 0.289µs 69.055µs ± 0.186µs 69.249µs 69.571µs 69.706µs 69.855µs 1.16% 0.199 -0.450 0.42% 0.020µs 1 200
credit_card/is_card_number/378282246310005 throughput 14315361.894op/s 14477760.034op/s ± 60575.215op/s 14481284.541op/s ± 39072.672op/s 14519171.489op/s 14567173.817op/s 14601145.659op/s 14611063.074op/s 0.90% -0.180 -0.460 0.42% 4283.315op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 45.362µs 45.706µs ± 0.163µs 45.710µs ± 0.102µs 45.811µs 45.930µs 46.007µs 46.460µs 1.64% 0.395 1.848 0.36% 0.012µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 21524113.641op/s 21879071.801op/s ± 78104.338op/s 21876970.119op/s ± 48710.874op/s 21928723.402op/s 22018102.940op/s 22042331.900op/s 22045091.977op/s 0.77% -0.356 1.713 0.36% 5522.811op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.427µs 6.438µs ± 0.004µs 6.438µs ± 0.003µs 6.441µs 6.446µs 6.448µs 6.459µs 0.31% 0.551 1.955 0.07% 0.000µs 1 200
credit_card/is_card_number/x371413321323331 throughput 154831381.751op/s 155320488.682op/s ± 103092.400op/s 155316470.803op/s ± 66137.257op/s 155393096.664op/s 155466710.033op/s 155552513.813op/s 155583978.054op/s 0.17% -0.544 1.931 0.07% 7289.733op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.894µs 3.914µs ± 0.003µs 3.913µs ± 0.002µs 3.915µs 3.918µs 3.921µs 3.923µs 0.24% -0.913 8.957 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254928314.876op/s 255524975.986op/s ± 190901.274op/s 255529729.361op/s ± 112427.895op/s 255648669.125op/s 255767228.293op/s 255811098.654op/s 256795743.701op/s 0.50% 0.936 9.105 0.07% 13498.759op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 62.500µs 64.182µs ± 0.633µs 64.225µs ± 0.464µs 64.688µs 65.087µs 65.368µs 65.480µs 1.95% -0.326 -0.425 0.98% 0.045µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15271802.058op/s 15582249.794op/s ± 154313.792op/s 15570263.090op/s ± 111633.108op/s 15682117.060op/s 15836981.957op/s 15961969.505op/s 16000069.233op/s 2.76% 0.370 -0.378 0.99% 10911.633op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 53.850µs 54.240µs ± 0.165µs 54.280µs ± 0.095µs 54.362µs 54.460µs 54.494µs 54.522µs 0.44% -0.619 -0.693 0.30% 0.012µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18341385.532op/s 18436764.445op/s ± 56037.336op/s 18422919.427op/s ± 32283.025op/s 18479813.126op/s 18538132.011op/s 18565115.942op/s 18569960.469op/s 0.80% 0.628 -0.685 0.30% 3962.438op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.895µs 3.913µs ± 0.003µs 3.913µs ± 0.002µs 3.915µs 3.917µs 3.919µs 3.922µs 0.23% -1.178 8.971 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254956712.741op/s 255538559.042op/s ± 179915.927op/s 255535532.272op/s ± 119083.151op/s 255657395.477op/s 255758630.800op/s 255826837.216op/s 256748568.288op/s 0.47% 1.198 9.114 0.07% 12721.977op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 50.165µs 50.599µs ± 0.160µs 50.621µs ± 0.068µs 50.673µs 50.769µs 51.100µs 51.151µs 1.05% 0.123 2.149 0.32% 0.011µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 19549911.908op/s 19763618.311op/s ± 62471.345op/s 19754610.029op/s ± 26767.983op/s 19789768.520op/s 19886424.866op/s 19927026.747op/s 19934296.958op/s 0.91% -0.084 2.096 0.32% 4417.391op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 45.370µs 45.686µs ± 0.162µs 45.690µs ± 0.132µs 45.813µs 45.930µs 46.001µs 46.012µs 0.71% -0.057 -1.036 0.35% 0.011µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 21733381.034op/s 21888706.724op/s ± 77656.755op/s 21886660.082op/s ± 63394.894op/s 21952607.780op/s 22009087.274op/s 22037185.092op/s 22041171.499op/s 0.71% 0.067 -1.036 0.35% 5491.162op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.429µs 6.436µs ± 0.004µs 6.435µs ± 0.002µs 6.438µs 6.442µs 6.444µs 6.447µs 0.17% 0.489 -0.262 0.06% 0.000µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 155121974.884op/s 155381304.968op/s ± 85780.839op/s 155390093.882op/s ± 59385.688op/s 155447586.399op/s 155505077.118op/s 155533168.432op/s 155539705.764op/s 0.10% -0.487 -0.265 0.06% 6065.621op/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.912µs; 3.912µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number/ throughput [255598324.399op/s; 255642282.331op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [81.248µs; 81.549µs] or [-0.185%; +0.185%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12264763.488op/s; 12310170.478op/s] or [-0.185%; +0.185%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [72.453µs; 72.588µs] or [-0.093%; +0.093%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13776970.764op/s; 13802544.603op/s] or [-0.093%; +0.093%] None None None
credit_card/is_card_number/37828224631 execution_time [3.912µs; 3.913µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/37828224631 throughput [255574379.053op/s; 255628645.097op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/378282246310005 execution_time [69.033µs; 69.113µs] or [-0.058%; +0.058%] None None None
credit_card/is_card_number/378282246310005 throughput [14469364.892op/s; 14486155.176op/s] or [-0.058%; +0.058%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [45.684µs; 45.729µs] or [-0.050%; +0.050%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [21868247.291op/s; 21889896.311op/s] or [-0.049%; +0.049%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.438µs; 6.439µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number/x371413321323331 throughput [155306201.067op/s; 155334776.297op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.913µs; 3.914µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/ throughput [255498518.906op/s; 255551433.067op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [64.094µs; 64.270µs] or [-0.137%; +0.137%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15560863.387op/s; 15603636.202op/s] or [-0.137%; +0.137%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [54.217µs; 54.263µs] or [-0.042%; +0.042%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18428998.209op/s; 18444530.681op/s] or [-0.042%; +0.042%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.913µs; 3.914µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255513624.425op/s; 255563493.659op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [50.576µs; 50.621µs] or [-0.044%; +0.044%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [19754960.384op/s; 19772276.239op/s] or [-0.044%; +0.044%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.664µs; 45.709µs] or [-0.049%; +0.049%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [21877944.245op/s; 21899469.204op/s] or [-0.049%; +0.049%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.435µs; 6.436µs] or [-0.008%; +0.008%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [155369416.568op/s; 155393193.367op/s] or [-0.008%; +0.008%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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 34.044µs 34.602µs ± 0.998µs 34.147µs ± 0.049µs 34.237µs 36.706µs 36.737µs 38.688µs 13.30% 1.801 1.671 2.88% 0.071µ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 [34.464µs; 34.741µs] or [-0.400%; +0.400%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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.093ms 6.397ms ± 0.074ms 6.414ms ± 0.017ms 6.431ms 6.460ms 6.488ms 6.556ms 2.22% -2.358 5.563 1.15% 0.005ms 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.387ms; 6.408ms] or [-0.159%; +0.159%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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 162.713µs 163.299µs ± 0.250µs 163.266µs ± 0.116µs 163.391µs 163.750µs 164.074µs 164.885µs 0.99% 1.802 8.204 0.15% 0.018µ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.265µs; 163.334µs] or [-0.021%; +0.021%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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 240.145ns 252.348ns ± 13.417ns 246.612ns ± 3.965ns 256.230ns 284.364ns 291.181ns 291.352ns 18.14% 1.483 1.155 5.30% 0.949ns 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 [250.489ns; 254.208ns] or [-0.737%; +0.737%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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.660ms 10.688ms ± 0.014ms 10.685ms ± 0.007ms 10.693ms 10.713ms 10.733ms 10.770ms 0.80% 1.971 6.643 0.14% 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.686ms; 10.690ms] or [-0.019%; +0.019%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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 86.207µs 86.641µs ± 0.166µs 86.633µs ± 0.059µs 86.697µs 86.790µs 86.997µs 88.399µs 2.04% 6.214 62.770 0.19% 0.012µ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 [86.618µs; 86.664µs] or [-0.027%; +0.027%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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.822µs 26.190µs ± 10.219µs 18.152µs ± 0.167µs 35.317µs 44.949µs 45.395µs 73.803µs 306.58% 0.953 0.725 38.92% 0.723µ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.773µs; 27.606µs] or [-5.408%; +5.408%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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.349ns 176.289ns ± 3.396ns 175.605ns ± 2.033ns 178.062ns 182.614ns 186.092ns 192.168ns 9.43% 1.241 2.324 1.92% 0.240ns 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.818ns; 176.760ns] or [-0.267%; +0.267%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 6b8c16b 1761333767 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.224µs 3.175µs ± 1.433µs 3.003µs ± 0.022µs 3.020µs 3.386µs 13.809µs 15.172µs 405.30% 7.511 56.995 45.02% 0.101µ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.977µs; 3.374µs] or [-6.254%; +6.254%] 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 71.97%. Comparing base (c4cdaa2) to head (6b8c16b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1276      +/-   ##
==========================================
+ Coverage   71.89%   71.97%   +0.07%     
==========================================
  Files         368      369       +1     
  Lines       58146    58421     +275     
==========================================
+ Hits        41805    42046     +241     
- Misses      16341    16375      +34     
Components Coverage Δ
datadog-crashtracker 52.35% <80.36%> (+1.72%) ⬆️
datadog-crashtracker-ffi 26.42% <86.45%> (+20.55%) ⬆️
datadog-alloc 98.73% <ø> (ø)
data-pipeline 87.86% <ø> (ø)
data-pipeline-ffi 88.19% <ø> (ø)
ddcommon 84.42% <ø> (+0.10%) ⬆️
ddcommon-ffi 74.14% <ø> (+0.29%) ⬆️
ddtelemetry 59.98% <ø> (ø)
ddtelemetry-ffi 21.24% <ø> (ø)
dogstatsd-client 83.26% <ø> (ø)
datadog-ipc 82.39% <ø> (ø)
datadog-profiling 76.90% <ø> (ø)
datadog-profiling-ffi 62.12% <ø> (ø)
datadog-sidecar 37.24% <ø> (ø)
datdog-sidecar-ffi 13.71% <ø> (ø)
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.00% <ø> (ø)
datadog-tracer-flare 61.03% <ø> (ø)
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.58 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.so 9.20 MB 9.20 MB +.01% (+1.65 KB) 🔍
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 83.70 MB 83.73 MB +.04% (+37.25 KB) 🔍
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 18.55 MB 18.57 MB +.08% (+16.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 129.26 MB 129.37 MB +.07% (+104.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 678.15 MB 678.67 MB +.07% (+534.90 KB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 5.93 MB 5.94 MB +.11% (+7.00 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.49 MB +.09% (+33.08 KB) 🔍
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 15.81 MB 15.83 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 131.44 MB 131.56 MB +.08% (+120.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 666.67 MB 667.19 MB +.07% (+532.66 KB) 🔍
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 4.55 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.68 MB +.12% (+24.00 KB) 🔍
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 30.52 MB 30.55 MB +.10% (+31.77 KB) 🔍
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 63.96 MB 63.99 MB +.04% (+31.05 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% (+32.83 KB) 🔍
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.91 MB 9.91 MB +.01% (+1.10 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.

2 participants