File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -566,7 +566,8 @@ inline performance::performance_state* Environment::performance_state() {
566
566
return performance_state_.get ();
567
567
}
568
568
569
- inline std::map<std::string, uint64_t >* Environment::performance_marks () {
569
+ inline std::unordered_map<std::string, uint64_t >*
570
+ Environment::performance_marks () {
570
571
return &performance_marks_;
571
572
}
572
573
Original file line number Diff line number Diff line change 39
39
#include " node_http2_state.h"
40
40
41
41
#include < list>
42
- #include < map>
43
42
#include < stdint.h>
44
43
#include < vector>
45
44
#include < unordered_map>
@@ -642,7 +641,7 @@ class Environment {
642
641
inline void set_fs_stats_field_array (double * fields);
643
642
644
643
inline performance::performance_state* performance_state ();
645
- inline std::map <std::string, uint64_t >* performance_marks ();
644
+ inline std::unordered_map <std::string, uint64_t >* performance_marks ();
646
645
647
646
inline void ThrowError (const char * errmsg);
648
647
inline void ThrowTypeError (const char * errmsg);
@@ -774,7 +773,7 @@ class Environment {
774
773
int should_not_abort_scope_counter_ = 0 ;
775
774
776
775
std::unique_ptr<performance::performance_state> performance_state_;
777
- std::map <std::string, uint64_t > performance_marks_;
776
+ std::unordered_map <std::string, uint64_t > performance_marks_;
778
777
779
778
#if HAVE_INSPECTOR
780
779
std::unique_ptr<inspector::Agent> inspector_agent_;
You can’t perform that action at this time.
0 commit comments