I thought I'd look into what would be required to have my utility hook into the official one, for installing packages.

So I tried a truss on "pkg install pkg://localpublisher/localpkg", and looked at the results.

It does over 1600 open() calls. (taking 29 seconds of real time)

"only" 592 of the open calls are python related.

This is for a package whose sole purpose is to deliver *one* file.

To put it diplomatically, seems like there is "room for improvement" there.

I'm guessing, this is due to over-dependence on "call the existing support library functions", without ever going back to analyze what that library is actually doing.
Maybe it's time to do that?

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to