Hi again guys. So as per request I redid the test. Below are the results:
> find . -type f -name MANIFEST.MF > filelist.txt
> wc filelist.txt
208 208 8161 filelist.txt
> time cat filelist.txt | xargs bbedit
real 0m34.592s
user 0m0.107s
sys 0m0.068s
> time cat filelist.txt | xargs bbedit
real 0m23.855s
user 0m0.092s
sys 0m0.084s
> time cat filelist.txt | xargs mate
real 0m0.769s
user 0m0.057s
sys 0m0.018s
> time cat filelist.txt | xargs mate
real 0m0.272s
user 0m0.038s
sys 0m0.013s
So 208 small files. All on a pretty fast mac book pro with a blazingly fast
SSD (not the stock one...a fast one).
Now I would like to point out that BBedit actually displays each file. As in
actually rendering the window with the visible part of the contents of the
file. TextMate does not do this. TextMate only creates a "project" and loads
the files into the document navigator on the left. So some could argue that
TextMate is not really opening the files and I would tend to agree. But
BBedit takes about the same amount of time even the second time...and I did
not close BBedit between the runs. In other words, it took BBedit 23 seconds
to just "re-open" the files it already had open. They were already in
memory, in the document navigation, etc. And during all those 35 seconds
BBedit was unresponsive as it was busy opening files, rendering the document
navigation, rendering files, etc.
And it strikes me that I don't really care if TextMate does not "really open
the files". I will not be looking at all 208 of them simultaneously. So for
me as a user it is more efficient to get lightning fast response time and
then click (open) the files in the order and pace that works for me. In this
particular instance TextMate won a round in my eyes.
Opinions welcomed.
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>