SORU
7 HAZİRAN 2011, Salı


Ölçüm R yürütme zamanı fonksiyonu

Fonksiyonun yürütme zamanı ölçmek için R standart bir yolu var mı?

Açıkçası ben al system.time önce ve sonra yürütme ve sonra fark bu, ama benim için varsa bazı standart yol veya fonksiyon (gibi değil icat tekerlek).


Sonra aşağıdaki gibi bir şey kullanmış olduğunu hatırlıyorum:

somesysfunction("myfunction(with,arguments)")
> Start time : 2001-01-01 00:00:00  # output of somesysfunction
> "Result" "of" "myfunction"        # output of myfunction
> End time : 2001-01-01 00:00:10    # output of somesysfunction
> Total Execution time : 10 seconds # output of somesysfunction

CEVAP
7 HAZİRAN 2011, Salı


system.time() yapacak yerleşik bir işlevdir.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Christian Atlas

    Christian At

    26 Mart 2009
  • infodirt

    infodirt

    11 Mart 2009
  • kndx

    kndx

    11 Mart 2006