Skip to content

Commit

Permalink
Inline print_value() in ostream exporter (#1512)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahadnagy authored Jul 24, 2022
1 parent a77ec80 commit e5cf017
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ class OwnedAttributeValueVisitor

#endif

void print_value(const opentelemetry::sdk::common::OwnedAttributeValue &value, std::ostream &sout)
inline void print_value(const opentelemetry::sdk::common::OwnedAttributeValue &value,
std::ostream &sout)
{
#if __cplusplus < 201402L
opentelemetry::nostd::visit(OwnedAttributeValueVisitor(sout), value);
Expand Down

1 comment on commit e5cf017

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'OpenTelemetry-cpp api Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: e5cf017 Previous: a77ec80 Ratio
BM_ThreadYieldSpinLockThrashing/2/process_time/real_time 133.73541831970215 ms/iter 55.011892318725586 ms/iter 2.43

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.