Macro running slower in a faster computerWhy would it take my computer 85 seconds to open Visual Studio and...
Difference between 'stomach' and 'uterus'
A "strange" unit radio astronomy
What is this waxed root vegetable?
How to mitigate "bandwagon attacking" from players?
What is the wife of a henpecked husband called?
How do ISS astronauts "get their stripes"?
It took me a lot of time to make this, pls like. (YouTube Comments #1)
"Murder!" The knight said
Pure Functions: Does "No Side Effects" Imply "Always Same Output, Given Same Input"?
Did Amazon pay $0 in taxes last year?
What is better: yes / no radio, or simple checkbox?
If a druid in Wild Shape swallows a creature whole, then turns back to her normal form, what happens?
I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?
What's the difference between a cart and a wagon?
Second-rate spelling
How to kill a localhost:8080
Accessing something inside the object when you don't know the key
Where is the fallacy here?
Should I choose Itemized or Standard deduction?
How to approximate rolls for potions of healing using only d6's?
Is there a ternary operator in math
What is a term for a function that when called repeatedly, has the same effect as calling once?
Where is this triangular-shaped space station from?
How to count occurrences of Friday 13th
Macro running slower in a faster computer
Why would it take my computer 85 seconds to open Visual Studio and create a WPF project?How to execute Outlook 2010 macro with AutoHotKey?Why Windows Server (2008 R2) opens text file slower than Windows Desktop (XP)When launching Excel 2010, multiple unwanted macro windows openDesktop about 10x slower to boot up than laptopSlower file create on faster server. Why?Error: The Macro May Not Be Available In This Workbook Or All Macros May Be DisabledLaptop is much faster than my Desktop PC?Server Hardware slower than Workstation Hardware (Same Software)Disable a macro, with another macro. EXCEL VBA
I have a new desktop and an old laptop. I run a Visio macro in both. It takes 30 seconds to run in the laptop, but 3 minutes and 3 seconds to run in the desktop. The desktop has 12 GB in RAM, and the laptop has 4 GB in RAM. All the user experience is a lot faster in the desktop than in the laptop, like rebooting, opening and working with documents and applications, etc., except running macros. I have tried macros in Excel, and they also run faster in the laptop.
Both computers have an i7 processor, Windows 64 bits, and Office 32 bits.
The desktop has Windows 10, and the laptop has Windows 7. A friend of mine has a laptop with Windows 10 and the macro runs there as fast as in my laptop with Windows 7, so I think my issue is not because the operative system is different.
I have tried several diagnostic tools with my desktop and nothing seems to be wrong.
Any help will be highly appreciated.
Here it is the technical specs for each computer:
Desktop
Laptop
Edit: I have added also the CPU-Z results for both computers, for CPU, Caches and Memory:
Desktop CPU-Z CPU
Desktop CPU-Z Caches
Desktop CPU-Z Memory
Laptop CPU-Z CPU
Laptop CPU-Z Caches
Laptop CPU-Z Memory
windows performance 64-bit macros intel-core-i7
add a comment |
I have a new desktop and an old laptop. I run a Visio macro in both. It takes 30 seconds to run in the laptop, but 3 minutes and 3 seconds to run in the desktop. The desktop has 12 GB in RAM, and the laptop has 4 GB in RAM. All the user experience is a lot faster in the desktop than in the laptop, like rebooting, opening and working with documents and applications, etc., except running macros. I have tried macros in Excel, and they also run faster in the laptop.
Both computers have an i7 processor, Windows 64 bits, and Office 32 bits.
The desktop has Windows 10, and the laptop has Windows 7. A friend of mine has a laptop with Windows 10 and the macro runs there as fast as in my laptop with Windows 7, so I think my issue is not because the operative system is different.
I have tried several diagnostic tools with my desktop and nothing seems to be wrong.
Any help will be highly appreciated.
Here it is the technical specs for each computer:
Desktop
Laptop
Edit: I have added also the CPU-Z results for both computers, for CPU, Caches and Memory:
Desktop CPU-Z CPU
Desktop CPU-Z Caches
Desktop CPU-Z Memory
Laptop CPU-Z CPU
Laptop CPU-Z Caches
Laptop CPU-Z Memory
windows performance 64-bit macros intel-core-i7
Please run CPU-Z on both computers and take screenshots of the tabs of CPU, Memory and Caches.
– harrymc
Feb 18 at 19:54
Thank you @harrymc, I have now edited the post to include those screenshots.
– Korck
Feb 18 at 20:27
It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
add a comment |
I have a new desktop and an old laptop. I run a Visio macro in both. It takes 30 seconds to run in the laptop, but 3 minutes and 3 seconds to run in the desktop. The desktop has 12 GB in RAM, and the laptop has 4 GB in RAM. All the user experience is a lot faster in the desktop than in the laptop, like rebooting, opening and working with documents and applications, etc., except running macros. I have tried macros in Excel, and they also run faster in the laptop.
Both computers have an i7 processor, Windows 64 bits, and Office 32 bits.
The desktop has Windows 10, and the laptop has Windows 7. A friend of mine has a laptop with Windows 10 and the macro runs there as fast as in my laptop with Windows 7, so I think my issue is not because the operative system is different.
I have tried several diagnostic tools with my desktop and nothing seems to be wrong.
Any help will be highly appreciated.
Here it is the technical specs for each computer:
Desktop
Laptop
Edit: I have added also the CPU-Z results for both computers, for CPU, Caches and Memory:
Desktop CPU-Z CPU
Desktop CPU-Z Caches
Desktop CPU-Z Memory
Laptop CPU-Z CPU
Laptop CPU-Z Caches
Laptop CPU-Z Memory
windows performance 64-bit macros intel-core-i7
I have a new desktop and an old laptop. I run a Visio macro in both. It takes 30 seconds to run in the laptop, but 3 minutes and 3 seconds to run in the desktop. The desktop has 12 GB in RAM, and the laptop has 4 GB in RAM. All the user experience is a lot faster in the desktop than in the laptop, like rebooting, opening and working with documents and applications, etc., except running macros. I have tried macros in Excel, and they also run faster in the laptop.
Both computers have an i7 processor, Windows 64 bits, and Office 32 bits.
The desktop has Windows 10, and the laptop has Windows 7. A friend of mine has a laptop with Windows 10 and the macro runs there as fast as in my laptop with Windows 7, so I think my issue is not because the operative system is different.
I have tried several diagnostic tools with my desktop and nothing seems to be wrong.
Any help will be highly appreciated.
Here it is the technical specs for each computer:
Desktop
Laptop
Edit: I have added also the CPU-Z results for both computers, for CPU, Caches and Memory:
Desktop CPU-Z CPU
Desktop CPU-Z Caches
Desktop CPU-Z Memory
Laptop CPU-Z CPU
Laptop CPU-Z Caches
Laptop CPU-Z Memory
windows performance 64-bit macros intel-core-i7
windows performance 64-bit macros intel-core-i7
edited Feb 18 at 20:27
Korck
asked Feb 18 at 19:23
KorckKorck
32
32
Please run CPU-Z on both computers and take screenshots of the tabs of CPU, Memory and Caches.
– harrymc
Feb 18 at 19:54
Thank you @harrymc, I have now edited the post to include those screenshots.
– Korck
Feb 18 at 20:27
It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
add a comment |
Please run CPU-Z on both computers and take screenshots of the tabs of CPU, Memory and Caches.
– harrymc
Feb 18 at 19:54
Thank you @harrymc, I have now edited the post to include those screenshots.
– Korck
Feb 18 at 20:27
It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
Please run CPU-Z on both computers and take screenshots of the tabs of CPU, Memory and Caches.
– harrymc
Feb 18 at 19:54
Please run CPU-Z on both computers and take screenshots of the tabs of CPU, Memory and Caches.
– harrymc
Feb 18 at 19:54
Thank you @harrymc, I have now edited the post to include those screenshots.
– Korck
Feb 18 at 20:27
Thank you @harrymc, I have now edited the post to include those screenshots.
– Korck
Feb 18 at 20:27
It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
add a comment |
3 Answers
3
active
oldest
votes
After some tests, I can say that the reason behind the marked speed difference was AMSI (Antimalware Scan Interface) technology from Microsoft, included with Office 365. I uninstalled Visio from Office 365 from the desktop and installed Visio 2016 instead, which does not have the built-in AMSI technology, and the same macro which previously took 3 minutes and a half now runs in around 25 seconds, even 5 seconds less than in the laptop.
New contributor
1
Welcome to Super User! It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
add a comment |
From the comparison between the CPU-Z results for these two computers,
I can conclude that while the desktop is faster in several areas,
it is slower in some others that are crucial for performance.
The main difference is in memory speed.
The desktop has a latency of 15 clocks and cycle time of 36 clocks,
while the matching numbers for the laptop were 9 and 24.
As regarding the CPU, there is another difference in the Level 2 cache,
where it was 4-way for the desktop but 8-way for the laptop.
From Wikipedia CPU cache we get:
The general guideline is that doubling the associativity, from direct mapped to two-way, or from two-way to four-way, has about the same effect on raising the hit rate as doubling the cache size.
Although Wikipedia does not maintain this argument also for going from 4-way to 8-way,
it is entirely possible that the laptop's L2 cache is more efficient here.
(I have also found in my experience that Dell computers are faster on memory
access.)
As another remark, an All-in-One computer usually involves some hardware
compromises which may impact on performance.
add a comment |
The "desktop" is not really what is known as a "real" desktop. Its CPU has a lower TDP than the laptop. AIO desktop machines are basically laptops in a different form factor and if they are badly designed could actually be a lot worse.
The screen and power supply on the AIO can actually cause a lot more heat to be generated in the same area as the CPU. At least with the laptop the screen is separate and the power brick is separate as well.
If the air vents are clogged then combined with poor thermal design or perished thermal materials the desktop could be thermally throttling. This would result in a lot worse performance than expected.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1407154%2fmacro-running-slower-in-a-faster-computer%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
After some tests, I can say that the reason behind the marked speed difference was AMSI (Antimalware Scan Interface) technology from Microsoft, included with Office 365. I uninstalled Visio from Office 365 from the desktop and installed Visio 2016 instead, which does not have the built-in AMSI technology, and the same macro which previously took 3 minutes and a half now runs in around 25 seconds, even 5 seconds less than in the laptop.
New contributor
1
Welcome to Super User! It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
add a comment |
After some tests, I can say that the reason behind the marked speed difference was AMSI (Antimalware Scan Interface) technology from Microsoft, included with Office 365. I uninstalled Visio from Office 365 from the desktop and installed Visio 2016 instead, which does not have the built-in AMSI technology, and the same macro which previously took 3 minutes and a half now runs in around 25 seconds, even 5 seconds less than in the laptop.
New contributor
1
Welcome to Super User! It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
add a comment |
After some tests, I can say that the reason behind the marked speed difference was AMSI (Antimalware Scan Interface) technology from Microsoft, included with Office 365. I uninstalled Visio from Office 365 from the desktop and installed Visio 2016 instead, which does not have the built-in AMSI technology, and the same macro which previously took 3 minutes and a half now runs in around 25 seconds, even 5 seconds less than in the laptop.
New contributor
After some tests, I can say that the reason behind the marked speed difference was AMSI (Antimalware Scan Interface) technology from Microsoft, included with Office 365. I uninstalled Visio from Office 365 from the desktop and installed Visio 2016 instead, which does not have the built-in AMSI technology, and the same macro which previously took 3 minutes and a half now runs in around 25 seconds, even 5 seconds less than in the laptop.
New contributor
New contributor
answered 11 hours ago
KorckKorck
16
16
New contributor
New contributor
1
Welcome to Super User! It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
add a comment |
1
Welcome to Super User! It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
1
1
Welcome to Super User! It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
Welcome to Super User! It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago
add a comment |
From the comparison between the CPU-Z results for these two computers,
I can conclude that while the desktop is faster in several areas,
it is slower in some others that are crucial for performance.
The main difference is in memory speed.
The desktop has a latency of 15 clocks and cycle time of 36 clocks,
while the matching numbers for the laptop were 9 and 24.
As regarding the CPU, there is another difference in the Level 2 cache,
where it was 4-way for the desktop but 8-way for the laptop.
From Wikipedia CPU cache we get:
The general guideline is that doubling the associativity, from direct mapped to two-way, or from two-way to four-way, has about the same effect on raising the hit rate as doubling the cache size.
Although Wikipedia does not maintain this argument also for going from 4-way to 8-way,
it is entirely possible that the laptop's L2 cache is more efficient here.
(I have also found in my experience that Dell computers are faster on memory
access.)
As another remark, an All-in-One computer usually involves some hardware
compromises which may impact on performance.
add a comment |
From the comparison between the CPU-Z results for these two computers,
I can conclude that while the desktop is faster in several areas,
it is slower in some others that are crucial for performance.
The main difference is in memory speed.
The desktop has a latency of 15 clocks and cycle time of 36 clocks,
while the matching numbers for the laptop were 9 and 24.
As regarding the CPU, there is another difference in the Level 2 cache,
where it was 4-way for the desktop but 8-way for the laptop.
From Wikipedia CPU cache we get:
The general guideline is that doubling the associativity, from direct mapped to two-way, or from two-way to four-way, has about the same effect on raising the hit rate as doubling the cache size.
Although Wikipedia does not maintain this argument also for going from 4-way to 8-way,
it is entirely possible that the laptop's L2 cache is more efficient here.
(I have also found in my experience that Dell computers are faster on memory
access.)
As another remark, an All-in-One computer usually involves some hardware
compromises which may impact on performance.
add a comment |
From the comparison between the CPU-Z results for these two computers,
I can conclude that while the desktop is faster in several areas,
it is slower in some others that are crucial for performance.
The main difference is in memory speed.
The desktop has a latency of 15 clocks and cycle time of 36 clocks,
while the matching numbers for the laptop were 9 and 24.
As regarding the CPU, there is another difference in the Level 2 cache,
where it was 4-way for the desktop but 8-way for the laptop.
From Wikipedia CPU cache we get:
The general guideline is that doubling the associativity, from direct mapped to two-way, or from two-way to four-way, has about the same effect on raising the hit rate as doubling the cache size.
Although Wikipedia does not maintain this argument also for going from 4-way to 8-way,
it is entirely possible that the laptop's L2 cache is more efficient here.
(I have also found in my experience that Dell computers are faster on memory
access.)
As another remark, an All-in-One computer usually involves some hardware
compromises which may impact on performance.
From the comparison between the CPU-Z results for these two computers,
I can conclude that while the desktop is faster in several areas,
it is slower in some others that are crucial for performance.
The main difference is in memory speed.
The desktop has a latency of 15 clocks and cycle time of 36 clocks,
while the matching numbers for the laptop were 9 and 24.
As regarding the CPU, there is another difference in the Level 2 cache,
where it was 4-way for the desktop but 8-way for the laptop.
From Wikipedia CPU cache we get:
The general guideline is that doubling the associativity, from direct mapped to two-way, or from two-way to four-way, has about the same effect on raising the hit rate as doubling the cache size.
Although Wikipedia does not maintain this argument also for going from 4-way to 8-way,
it is entirely possible that the laptop's L2 cache is more efficient here.
(I have also found in my experience that Dell computers are faster on memory
access.)
As another remark, an All-in-One computer usually involves some hardware
compromises which may impact on performance.
answered Feb 18 at 20:53
harrymcharrymc
260k14271576
260k14271576
add a comment |
add a comment |
The "desktop" is not really what is known as a "real" desktop. Its CPU has a lower TDP than the laptop. AIO desktop machines are basically laptops in a different form factor and if they are badly designed could actually be a lot worse.
The screen and power supply on the AIO can actually cause a lot more heat to be generated in the same area as the CPU. At least with the laptop the screen is separate and the power brick is separate as well.
If the air vents are clogged then combined with poor thermal design or perished thermal materials the desktop could be thermally throttling. This would result in a lot worse performance than expected.
add a comment |
The "desktop" is not really what is known as a "real" desktop. Its CPU has a lower TDP than the laptop. AIO desktop machines are basically laptops in a different form factor and if they are badly designed could actually be a lot worse.
The screen and power supply on the AIO can actually cause a lot more heat to be generated in the same area as the CPU. At least with the laptop the screen is separate and the power brick is separate as well.
If the air vents are clogged then combined with poor thermal design or perished thermal materials the desktop could be thermally throttling. This would result in a lot worse performance than expected.
add a comment |
The "desktop" is not really what is known as a "real" desktop. Its CPU has a lower TDP than the laptop. AIO desktop machines are basically laptops in a different form factor and if they are badly designed could actually be a lot worse.
The screen and power supply on the AIO can actually cause a lot more heat to be generated in the same area as the CPU. At least with the laptop the screen is separate and the power brick is separate as well.
If the air vents are clogged then combined with poor thermal design or perished thermal materials the desktop could be thermally throttling. This would result in a lot worse performance than expected.
The "desktop" is not really what is known as a "real" desktop. Its CPU has a lower TDP than the laptop. AIO desktop machines are basically laptops in a different form factor and if they are badly designed could actually be a lot worse.
The screen and power supply on the AIO can actually cause a lot more heat to be generated in the same area as the CPU. At least with the laptop the screen is separate and the power brick is separate as well.
If the air vents are clogged then combined with poor thermal design or perished thermal materials the desktop could be thermally throttling. This would result in a lot worse performance than expected.
answered Feb 18 at 22:52
Mokubai♦Mokubai
57.8k16139157
57.8k16139157
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1407154%2fmacro-running-slower-in-a-faster-computer%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please run CPU-Z on both computers and take screenshots of the tabs of CPU, Memory and Caches.
– harrymc
Feb 18 at 19:54
Thank you @harrymc, I have now edited the post to include those screenshots.
– Korck
Feb 18 at 20:27
It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. See How can one link/merge/combine/associate two accounts/users? and/or I accidentally created two accounts; how do I merge them? for guidance on how to merge your accounts.
– DavidPostill♦
10 hours ago