Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dcore:important_grep_notice [2016/07/31 17:15] – [Grep Performance Comparison] nitramdcore:important_grep_notice [2016/07/31 17:18] (current) – [GNU Grep Performance] nitram
Line 4: Line 4:
 [[https://en.wikipedia.org/wiki/Grep|Grep]] is used extensively by dCore to crawl through extensions, dependency lists and large database files to import and update SCEs. [[http://www.gnu.org/software/grep/manual/grep.html|GNU Grep]] provides faster performance than the built-in [[https://busybox.net/downloads/BusyBox.html|BusyBox]] version. The recommendation is to ensure GNU Grep is installed and utilized. [[https://en.wikipedia.org/wiki/Grep|Grep]] is used extensively by dCore to crawl through extensions, dependency lists and large database files to import and update SCEs. [[http://www.gnu.org/software/grep/manual/grep.html|GNU Grep]] provides faster performance than the built-in [[https://busybox.net/downloads/BusyBox.html|BusyBox]] version. The recommendation is to ensure GNU Grep is installed and utilized.
  
-==== Confirm Grep Utilization ==== +==== Grep Utilization ==== 
-To check whether GNU Grep is imported and utilized run ''which grep'':+To confirm that GNU Grep is imported and utilized run ''which grep'':
 <code> <code>
 tc@box:/mnt/sda1/tce$ which grep tc@box:/mnt/sda1/tce$ which grep
Line 50: Line 50:
 </code> </code>
  
-==== GNU Grep Performance ====+==== Grep Performance ====
 To confirm whether this Grep hassle is worthwhile, an 11 MB mupdf.sce (PDF reader) update check was completed as a case study. This is a moderately sized extension not imported with advanced techniques, such as a dependency import. On slow hardware /bb/grep took 1min:27sec to complete an update check versus 0min:37sec using /bin/grep. To confirm whether this Grep hassle is worthwhile, an 11 MB mupdf.sce (PDF reader) update check was completed as a case study. This is a moderately sized extension not imported with advanced techniques, such as a dependency import. On slow hardware /bb/grep took 1min:27sec to complete an update check versus 0min:37sec using /bin/grep.
  
 **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]** **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]**
Print/export
QR Code
QR Code dcore:important_grep_notice (generated for current page)