File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -526,7 +526,8 @@ inline performance::performance_state* Environment::performance_state() {
526
526
return performance_state_.get ();
527
527
}
528
528
529
- inline std::map<std::string, uint64_t >* Environment::performance_marks () {
529
+ inline std::unordered_map<std::string, uint64_t >*
530
+ Environment::performance_marks () {
530
531
return &performance_marks_;
531
532
}
532
533
Original file line number Diff line number Diff line change 38
38
#include " node_http2_state.h"
39
39
40
40
#include < list>
41
- #include < map>
42
41
#include < stdint.h>
43
42
#include < vector>
44
43
#include < unordered_map>
@@ -625,7 +624,7 @@ class Environment {
625
624
inline AliasedBuffer<uint32_t , v8::Uint32Array>& scheduled_immediate_count ();
626
625
627
626
inline performance::performance_state* performance_state ();
628
- inline std::map <std::string, uint64_t >* performance_marks ();
627
+ inline std::unordered_map <std::string, uint64_t >* performance_marks ();
629
628
630
629
inline void ThrowError (const char * errmsg);
631
630
inline void ThrowTypeError (const char * errmsg);
@@ -731,7 +730,7 @@ class Environment {
731
730
AliasedBuffer<uint32_t , v8::Uint32Array> scheduled_immediate_count_;
732
731
733
732
std::unique_ptr<performance::performance_state> performance_state_;
734
- std::map <std::string, uint64_t > performance_marks_;
733
+ std::unordered_map <std::string, uint64_t > performance_marks_;
735
734
736
735
#if HAVE_INSPECTOR
737
736
std::unique_ptr<inspector::Agent> inspector_agent_;
You can’t perform that action at this time.
0 commit comments