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

  • Chriselle Lim

    Chriselle Li

    26 Ocak 2008
  • StalkerJS

    StalkerJS

    15 HAZİRAN 2010
  • TROPFEST

    TROPFEST

    27 Mart 2007