Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Array of objects
(version: 0)
Test on isEqual performance
Comparing performance of:
_.isEqual vs JSON.stringify
Created:
4 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/lodash@4.17.4/lodash.min.js"></script>
Script Preparation code:
window.foo = [{"name":"repository_number_0","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_0"},{"name":"repository_number_1","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_1"},{"name":"repository_number_2","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_2"},{"name":"repository_number_3","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_3"},{"name":"repository_number_4","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_4"},{"name":"repository_number_5","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_5"},{"name":"repository_number_6","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_6"},{"name":"repository_number_7","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_7"},{"name":"repository_number_8","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_8"},{"name":"repository_number_9","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_9"},{"name":"repository_number_10","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_10"},{"name":"repository_number_11","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_11"},{"name":"repository_number_12","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_12"},{"name":"repository_number_13","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_13"},{"name":"repository_number_14","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_14"},{"name":"repository_number_15","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_15"},{"name":"repository_number_16","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_16"},{"name":"repository_number_17","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_17"},{"name":"repository_number_18","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_18"},{"name":"repository_number_19","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_19"},{"name":"repository_number_20","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_20"},{"name":"repository_number_21","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_21"},{"name":"repository_number_22","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_22"},{"name":"repository_number_23","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_23"},{"name":"repository_number_24","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_24"},{"name":"repository_number_25","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_25"},{"name":"repository_number_26","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_26"},{"name":"repository_number_27","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_27"},{"name":"repository_number_28","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_28"},{"name":"repository_number_29","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_29"},{"name":"repository_number_30","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_30"},{"name":"repository_number_31","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_31"},{"name":"repository_number_32","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_32"},{"name":"repository_number_33","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_33"},{"name":"repository_number_34","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_34"},{"name":"repository_number_35","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_35"},{"name":"repository_number_36","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_36"},{"name":"repository_number_37","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_37"},{"name":"repository_number_38","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_38"},{"name":"repository_number_39","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_39"},{"name":"repository_number_40","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_40"},{"name":"repository_number_41","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_41"},{"name":"repository_number_42","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_42"},{"name":"repository_number_43","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_43"},{"name":"repository_number_44","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_44"},{"name":"repository_number_45","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_45"},{"name":"repository_number_46","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_46"},{"name":"repository_number_47","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_47"},{"name":"repository_number_48","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_48"},{"name":"repository_number_49","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_49"}]; window.bar = [{"name":"repository_number_0","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_0"},{"name":"repository_number_1","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_1"},{"name":"repository_number_2","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_2"},{"name":"repository_number_3","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_3"},{"name":"repository_number_4","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_4"},{"name":"repository_number_5","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_5"},{"name":"repository_number_6","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_6"},{"name":"repository_number_7","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_7"},{"name":"repository_number_8","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_8"},{"name":"repository_number_9","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_9"},{"name":"repository_number_10","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_10"},{"name":"repository_number_11","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_11"},{"name":"repository_number_12","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_12"},{"name":"repository_number_13","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_13"},{"name":"repository_number_14","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_14"},{"name":"repository_number_15","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_15"},{"name":"repository_number_16","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_16"},{"name":"repository_number_17","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_17"},{"name":"repository_number_18","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_18"},{"name":"repository_number_19","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_19"},{"name":"repository_number_20","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_20"},{"name":"repository_number_21","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_21"},{"name":"repository_number_22","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_22"},{"name":"repository_number_23","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_23"},{"name":"repository_number_24","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_24"},{"name":"repository_number_25","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_25"},{"name":"repository_number_26","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_26"},{"name":"repository_number_27","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_27"},{"name":"repository_number_28","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_28"},{"name":"repository_number_29","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_29"},{"name":"repository_number_30","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_30"},{"name":"repository_number_31","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_31"},{"name":"repository_number_32","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_32"},{"name":"repository_number_33","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_33"},{"name":"repository_number_34","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_34"},{"name":"repository_number_35","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_35"},{"name":"repository_number_36","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_36"},{"name":"repository_number_37","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_37"},{"name":"repository_number_38","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_38"},{"name":"repository_number_39","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_39"},{"name":"repository_number_40","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_40"},{"name":"repository_number_41","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_41"},{"name":"repository_number_42","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_42"},{"name":"repository_number_43","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_43"},{"name":"repository_number_44","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_44"},{"name":"repository_number_45","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_45"},{"name":"repository_number_46","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_46"},{"name":"repository_number_47","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_47"},{"name":"repository_number_48","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_48"},{"name":"repository_number_49","rules":"*.3ds, *.bmp, *.blend, *.eps, *.exif, *.gif, *.icns, *.ico, *.jpeg, *.jpg, *.ma, *.max, *.mb, *.pcx, *.png, *.psd, *.svg, *.wav","description":"Description of the repository_49"}];
Tests:
_.isEqual
_.isEqual(window.foo, window.bar)
JSON.stringify
JSON.stringify(window.foo) === JSON.stringify(window.bar);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
_.isEqual
JSON.stringify
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Autogenerated LLM Summary
(model
llama3.2:3b
, generated one year ago):
Based on the provided benchmark data, I will answer the question. To determine whether two values are equal, we can use the `_.isEqual` function from Lodash. However, in this case, since the values are stored in the browser's global scope (`window.foo` and `window.bar`), it's likely that they are not equal due to how JavaScript stores objects in memory. The first benchmark result shows a performance of 31308.095703125 executions per second for `_.isEqual`, which is significantly faster than the second benchmark result, which has a performance of 22175.494140625 executions per second for `JSON.stringify`. This suggests that `_.isEqual` is generally faster for comparing objects. To confirm whether `_.isEqual` returns true or false for this specific case, we would need to examine the output of the function. However, based on the data provided, it appears that `_.isEqual` does not return true for these values due to the differences in how JavaScript stores them. Therefore, the answer is: * The Lodash `_.isEqual` function returns false for comparing `window.foo` and `window.bar`. * The performance of `_.isEqual` is significantly faster than `JSON.stringify`.
Related benchmarks:
Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Array of Strings.
Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Array of Strings when comparison is not equal.
Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Array of Strings. Lodash v 4.17.11
Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Array of Strings. Testing 123
Comments
Confirm delete:
Do you really want to delete benchmark?