| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d426ee9 commit edcfffe
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -154,17 +154,17 @@ function getHeapStatistics() { | |||
| 154 | 154 | updateHeapStatisticsBuffer(); | |
| 155 | 155 | ||
| 156 | 156 | return { | |
| 157 | - 'total_heap_size': buffer[kTotalHeapSizeIndex], | ||
| 158 | - 'total_heap_size_executable': buffer[kTotalHeapSizeExecutableIndex], | ||
| 159 | - 'total_physical_size': buffer[kTotalPhysicalSizeIndex], | ||
| 160 | - 'total_available_size': buffer[kTotalAvailableSize], | ||
| 161 | - 'used_heap_size': buffer[kUsedHeapSizeIndex], | ||
| 162 | - 'heap_size_limit': buffer[kHeapSizeLimitIndex], | ||
| 163 | - 'malloced_memory': buffer[kMallocedMemoryIndex], | ||
| 164 | - 'peak_malloced_memory': buffer[kPeakMallocedMemoryIndex], | ||
| 165 | - 'does_zap_garbage': buffer[kDoesZapGarbageIndex], | ||
| 166 | - 'number_of_native_contexts': buffer[kNumberOfNativeContextsIndex], | ||
| 167 | - 'number_of_detached_contexts': buffer[kNumberOfDetachedContextsIndex] | ||
| 157 | + total_heap_size: buffer[kTotalHeapSizeIndex], | ||
| 158 | + total_heap_size_executable: buffer[kTotalHeapSizeExecutableIndex], | ||
| 159 | + total_physical_size: buffer[kTotalPhysicalSizeIndex], | ||
| 160 | + total_available_size: buffer[kTotalAvailableSize], | ||
| 161 | + used_heap_size: buffer[kUsedHeapSizeIndex], | ||
| 162 | + heap_size_limit: buffer[kHeapSizeLimitIndex], | ||
| 163 | + malloced_memory: buffer[kMallocedMemoryIndex], | ||
| 164 | + peak_malloced_memory: buffer[kPeakMallocedMemoryIndex], | ||
| 165 | + does_zap_garbage: buffer[kDoesZapGarbageIndex], | ||
| 166 | + number_of_native_contexts: buffer[kNumberOfNativeContextsIndex], | ||
| 167 | + number_of_detached_contexts: buffer[kNumberOfDetachedContextsIndex] | ||
| 168 | 168 | }; | |
| 169 | 169 | } | |
| 170 | 170 | ||
@@ -209,9 +209,9 @@ function getHeapCodeStatistics() { | |||
| 209 | 209 | ||
| 210 | 210 | updateHeapCodeStatisticsBuffer(); | |
| 211 | 211 | return { | |
| 212 | - 'code_and_metadata_size': buffer[kCodeAndMetadataSizeIndex], | ||
| 213 | - 'bytecode_and_metadata_size': buffer[kBytecodeAndMetadataSizeIndex], | ||
| 214 | - 'external_script_source_size': buffer[kExternalScriptSourceSizeIndex] | ||
| 212 | + code_and_metadata_size: buffer[kCodeAndMetadataSizeIndex], | ||
| 213 | + bytecode_and_metadata_size: buffer[kBytecodeAndMetadataSizeIndex], | ||
| 214 | + external_script_source_size: buffer[kExternalScriptSourceSizeIndex] | ||
| 215 | 215 | }; | |
| 216 | 216 | } | |
| 217 | 217 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments