You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/native-machine-id/README.md
+19-18Lines changed: 19 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,32 @@
1
-
# @mongodb-js/machine-id
1
+
# native-machine-id
2
2
3
-
> Native implementation for retrieving unique machine ID without admin privileges or child processes for desktop platforms. Faster and more reliable alternative to node-machine-id.
3
+
> Native retrieval of a unique desktop machine ID without admin privileges or child processes. Faster and more reliable alternative to node-machine-id.
This module provides similar functionality to [node-machine-id](https://www.npmjs.com/package/node-machine-id), but**using native access to system APIs without the need for child processes**, making it much faster and reliable.
40
+
This module provides similar functionality to [node-machine-id](https://www.npmjs.com/package/node-machine-id) while**using native access to system APIs without the need for child processes**, making it much faster and reliable.
40
41
41
42
Here's a table of performance comparisons between the two libraries, based on the average runtime from 1000 iterations of the `getMachineId` and `machineIdSync` functions, from `scripts/benchmark.ts`:
42
43
43
-
| Test | node-machine-id |@mongodb-js/machine-id| Improvement |
0 commit comments