Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. performance question

performance question

Scheduled Pinned Locked Moved C#
performancequestionbeta-testing
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rchiav
    wrote on last edited by
    #1

    I'm trying to figure out if there's something wrong with my system or if it's normal. I don't remember it being this slow before. I made a very small console app that opens a text file, writes one line to it and then reads that line back and prints it to the screen. It takes 22 seconds to run. The system is a pIII 700 with 256 megs of ram running win2K. I'm pretty sure that with the beta framework's small console apps ran at a reasonable speed. Is this normal or is there something wrong with my installation?

    J 1 Reply Last reply
    0
    • R rchiav

      I'm trying to figure out if there's something wrong with my system or if it's normal. I don't remember it being this slow before. I made a very small console app that opens a text file, writes one line to it and then reads that line back and prints it to the screen. It takes 22 seconds to run. The system is a pIII 700 with 256 megs of ram running win2K. I'm pretty sure that with the beta framework's small console apps ran at a reasonable speed. Is this normal or is there something wrong with my installation?

      J Offline
      J Offline
      James T Johnson
      wrote on last edited by
      #2

      that certainly sounds like its way too long; even with the JITing. Just to be sure though run ngen on your exe, then time it again. ngen will pre-JIT so the only startup time will be loading the framework. HTH, James Sonork ID: 100.11138 - Hasaki "My words but a whisper -- your deafness a SHOUT. I may make you feel but I can't make you think." - Thick as a Brick, Jethro Tull 1972

      R 1 Reply Last reply
      0
      • J James T Johnson

        that certainly sounds like its way too long; even with the JITing. Just to be sure though run ngen on your exe, then time it again. ngen will pre-JIT so the only startup time will be loading the framework. HTH, James Sonork ID: 100.11138 - Hasaki "My words but a whisper -- your deafness a SHOUT. I may make you feel but I can't make you think." - Thick as a Brick, Jethro Tull 1972

        R Offline
        R Offline
        rchiav
        wrote on last edited by
        #3

        Uninstalled and reinstalled the framework and it's fixed. takes only a couple seconds to fire up the first time. Pretty much instant the second time.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups