Featured post
Performance Comparison of Shell Scripts vs high level interpreted langs (C#/Java/etc.) -
first - not meant 'which better, ignorant nonionic war thread'... rather, need in making architecture decision / argument put forward boss.
skipping details - love know , find results of has done performance comparisons of shell vs [insert general purpose programming language (interpreted) here), such c# or java...
surprisingly, have spent time on google on searching here not find of data. has ever done these comparisons, in different use-cases; hitting database in xyx # of loops doing different types of sql (oracle pref, mssql do) queries such of crud ops - , not hitting database , regular 50k loop type comparison doing different types of calculations, , things of nature?
in particular - right now, need comparison of hitting oracle db shell script vs, lets c# (again, gppl thats interpreted fine, higher level ones python). need know standard programming calculations / instructions/etc...
before ask 'why not write quick test yourself? answer is: i've been windows developer whole life/career , have limited knowledge of shell scripting - not mention *nix whole.... asking question on here more experienced guys grealty beneficial, not mention time saving in near perputual deadline crunch ;).
once upon time, ye olde great computer language shootout did include shell scripts.
so, courtesy of internet archive, from 2004 -
note shell scripts didn't have programs many of tests.
score missing-tests java 20 1 perl 16 0 python 16 0 gawk 12 6 mawk 10 6 bash 7 12
note shell scripts can small , fast :-)
cpu (sec) mem (kb) lines code bash 0.0670 1464 1 c gcc 0.0810 4064 59 python 0.3869 13160 6
- Get link
- X
- Other Apps
Comments
Post a Comment