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. Visual Basic
  4. Visual Basic&Pentium4

Visual Basic&Pentium4

Scheduled Pinned Locked Moved Visual Basic
helpperformancequestion
5 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.
  • U Offline
    U Offline
    User 633422
    wrote on last edited by
    #1

    Dear community I am working at a my project in Visual Basic 6 (Service Pack 5) and I notice this seroius problem. When I create my executable on a PIII or Athlon Processor the speed of the program is almost two faster than when I create my executable on P4. I think that the compiler isn't optimized for P4, but it's a strange fact. ( The P4 Work at 2.4 Ghz, P3 work at 1.0 Ghz and Athlon XP work at 1.6 Ghz (It is a AthlonXP2000) Somebody can help me for increasing the speed on P4?

    D 1 Reply Last reply
    0
    • U User 633422

      Dear community I am working at a my project in Visual Basic 6 (Service Pack 5) and I notice this seroius problem. When I create my executable on a PIII or Athlon Processor the speed of the program is almost two faster than when I create my executable on P4. I think that the compiler isn't optimized for P4, but it's a strange fact. ( The P4 Work at 2.4 Ghz, P3 work at 1.0 Ghz and Athlon XP work at 1.6 Ghz (It is a AthlonXP2000) Somebody can help me for increasing the speed on P4?

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Unfortunately, the compiler doesn't have any optimizations for a P4, or a P3 for that matter. There's got to be something else installed on the machine that is causing this. I've run VB6 SP5 on my machines, P3, P4 and Athlon 2600+, with no difference between the executables or their speed. Are the .EXE files generated EXACTLY the same, byte for byte? RageInTheMachine9532

      U 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Unfortunately, the compiler doesn't have any optimizations for a P4, or a P3 for that matter. There's got to be something else installed on the machine that is causing this. I've run VB6 SP5 on my machines, P3, P4 and Athlon 2600+, with no difference between the executables or their speed. Are the .EXE files generated EXACTLY the same, byte for byte? RageInTheMachine9532

        U Offline
        U Offline
        User 633422
        wrote on last edited by
        #3

        I have done two tests: First I have made the executable on P3 and I tested it on P4. The difference on speed is about two times. Second: I have made the executable on P4 directly, but it is the same. The source code is the same, in each tests. I have used Windows2000, and WindowsXp : there are no difference. E.G.

        D 1 Reply Last reply
        0
        • U User 633422

          I have done two tests: First I have made the executable on P3 and I tested it on P4. The difference on speed is about two times. Second: I have made the executable on P4 directly, but it is the same. The source code is the same, in each tests. I have used Windows2000, and WindowsXp : there are no difference. E.G.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Let me get this straight: You compile the program on a P3. Run it on the P3 and P4 and the performance is about twice as fast on the P4. You compile the program on a P4. Run it on the P3 and P4 and the performance is EQUAL on both machines!? :confused: and its slower than when the program was compiled on the P3? RageInTheMachine9532

          U 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Let me get this straight: You compile the program on a P3. Run it on the P3 and P4 and the performance is about twice as fast on the P4. You compile the program on a P4. Run it on the P3 and P4 and the performance is EQUAL on both machines!? :confused: and its slower than when the program was compiled on the P3? RageInTheMachine9532

            U Offline
            U Offline
            User 633422
            wrote on last edited by
            #5

            Probably I made some mess in my word.. I tested the speed in two way: First: I compile the program on a P3(1 Ghz) and I copy it on a P4 (2.4 Ghz) also. In this way the executable is the same (Byte per Byte), but I see that the speed on P3 is faster (!!!) than the P4. Second: I compile the program on P3 and run it. I compile the program on P4 and run it. I see that the P3 is faster than P4. The P3 is faster than P4. Why? (Very strange) I didn't install any special program and I have made some tests on different P4. E.G.

            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