Skip to content

Instantly share code, notes, and snippets.

@ti-kamlesh
Created August 30, 2023 14:37
Show Gist options
  • Save ti-kamlesh/8117b6f7120960a71541ab67c671602a to your computer and use it in GitHub Desktop.
Save ti-kamlesh/8117b6f7120960a71541ab67c671602a to your computer and use it in GitHub Desktop.
+-------------------+-----------------------------+-----------------------+------------------------+------------------------+
| | | | | |
| File size | 120mb(ideal size for us) | 20mb | 15mb | 5mb |
+===================+=============================+=======================+========================+========================+
| | | | | |
| CRC32 (Case 1) | Driver time 0.155s | Driver time 0.0325s | Driver time 0.019s | Driver time 0.0062s |
| | real time 0.18s | real time 0.06s | real time 0.04s | real time 0.03s |
| | overhead 0.025s | overhead 0.025s | overhead 0.021s | overhead ~0.023s |
+-------------------+-----------------------------+-----------------------+------------------------+------------------------+
| | | | | |
| CRC32 (Case 2) | Real time 0.30s | Real time 0.05s | Real time 0.04s | Real time 0.02s |
+-------------------+-----------------------------+-----------------------+------------------------+------------------------+
| | | | | |
| CRC64 (Case 3) | Driver time 0.385s | Driver time 0.0665s | Driver time 0.0515s | Driver time 0.019s |
| | real time 0.41s | real time 0.09s | real time 0.08s | real time 0.04s |
| | overhead 0.025s | overhead 0.025s | overhead ~0.025s | overhead ~0.021s |
+-------------------+-----------------------------+-----------------------+------------------------+------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment