We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aded597 commit e72761aCopy full SHA for e72761a
src/node_perf.h
@@ -70,11 +70,11 @@ class PerformanceEntry : public BaseObject {
70
return env_;
71
}
72
73
- std::string name() const {
+ const std::string& name() const {
74
return name_;
75
76
77
- std::string type() const {
+ const std::string& type() const {
78
return type_;
79
80
@@ -132,11 +132,11 @@ class PerformanceEntry : public BaseObject {
132
133
~PerformanceEntry() {}
134
135
136
137
138
139
140
141
142
0 commit comments