zoukankan      html  css  js  c++  java
  • .net代码执行时间

    • using System;
    • using System.Data;
    • using System.Configuration;
    • using System.Collections;
    • using System.Web;
    • using System.Web.Security;
    • using System.Web.UI;
    • using System.Web.UI.WebControls;
    • using System.Web.UI.WebControls.WebParts;
    • using System.Web.UI.HtmlControls;
    • using System.Diagnostics;
    • public partial class CountTime : System.Web.UI.Page
    • {
    •     protected void Page_Load(object sender, EventArgs e)
    •     {
    •         Stopwatch sw = new Stopwatch();
    •         sw.Start();
    •         for (int i = 0; i < 100000000; i++)
    •         {
    •             int j = i + 1;
    •         }
    •         sw.Stop();
    •         Response.Write(sw.Elapsed.Milliseconds / 1000d);
    •     }
    • }
  • 相关阅读:
    go2基本类型
    go1
    android studio 使用
    ios34---GDC,dispatch_once
    ios33--线程通信
    ios33--线程安全
    ios32---线程的状态
    ios31--NSThread
    ios30---pthread, NSThread, GCD, NSOperation
    ios29--多线程
  • 原文地址:https://www.cnblogs.com/yongtaiyu/p/2578879.html
Copyright © 2011-2022 走看看