Your Trusted B2B Sourcing Platform About | Help | Sign In | Post Request
Buying Guide

CNC Machining Cost Per Part Calculator: A Buyer's Guide to Verifying Quotes and Avoiding the Hidden Markups

Why a Per-Part Cost Model Beats a Single Quote Number

Most international buyers evaluate CNC machining quotes by comparing bottom-line prices across suppliers. That approach fails because a quote is not a price—it is the output of a cost model that each supplier builds differently. Setup charges, minimum-order padding, machine-hour assumptions, and material markups can swing a per-part price by 40% or more between shops quoting the same drawing. A structured CNC machining cost per part calculator—even a simple spreadsheet version—lets you decompose any quote into its building blocks and identify which line items are defensible and which are inflated.

This guide gives you the benchmark model. It explains how per-part cost is actually assembled, provides realistic rate ranges by region and machine type, and equips you with a quote-audit checklist and negotiation levers for volumes from 1 to 10,000+ units. The goal is not to squeeze suppliers to zero margin—it is to ensure you pay for machining, not for ambiguity.

For grounding: our supplier directory currently lists 1 verified supplier and 4 products in this bracket category, with observed unit prices ranging from $2.80 to $12.00 per part. That spread—more than 4x—on comparable bracket-type work illustrates exactly why a per-part cost model matters. The difference between the low and high end is rarely machining skill; it is how setup, material, and volume assumptions are packaged.

Warm-toned indoor industrial workshop with tools and equipment. (Photo: Jonathan Cooper / Pexels)

The Five Cost Blocks Behind Every CNC Quote

Every credible CNC quote decomposes into five blocks. If a supplier cannot or will not break a quote into these categories, treat that as a transparency risk.

1. Material Cost (with Buy-to-Fly Ratio)

Material is rarely just stock weight × price per kilogram. The relevant metric is buy-to-fly ratio: the weight of raw stock purchased divided by the weight of the finished part. For a simple bracket machined from plate, buy-to-fly may be 1.2–1.5. For a complex part carved from a solid billet, it can exceed 5. A supplier quoting material at finished-part weight is either absorbing scrap cost elsewhere or underquoting and will recover it later.

Approximate raw material prices (international spot, indicative only—verify at time of quote):

  • 6061-T6 aluminum: $3–$5/kg. Easy to machine, high buy-to-fly tolerance for scrap, widely stocked.
  • 304 stainless steel: $4–$7/kg. Work-hardens, requiring slower feeds and more tool changes.
  • Ti-6Al-4V titanium: $30–$60/kg. Low thermal conductivity, aggressive tool wear, and typically 3–5x the cycle time of aluminum for the same geometry.

2. Machine Hourly Rate

The machine rate bundles depreciation, floor space, power, consumables, and operator labor. Rates vary widely by machine type and region:

Machine TypeTypical Rate (USD/hr)Notes
3-axis VMC (China, Southeast Asia)$25–$45Standard for brackets, plates, simple housings
3-axis VMC (Western Europe, North America)$60–$90Labor and overhead dominate
4/5-axis simultaneous$50–$120Premiums for complex geometry and tight tolerances
CNC turning (lathe)$30–$70Lower for bar-fed automation

A quote that implies a $25/hr machine rate but carries a 30% overhead markup on top is not necessarily wrong—but you should see both numbers. Hidden rate inflation usually appears as an unexplained "machining" lump sum.

3. Cycle Time

Cycle time is the multiplier that turns machine rate into machining cost: Machining cost = Cycle time (hr) × Machine rate. Cycle time is driven by:

  • Material machinability: 6061-T6 machines roughly 3–5x faster than Ti-6Al-4V for equivalent features.
  • Tolerance callouts: Tightening a dimension from ±0.1 mm to ±0.02 mm can add 20–50% to cycle time due to slower feeds, in-process inspection, and scrap risk.
  • Feature count and tool changes: Each additional tool and setup adds non-cutting time.
  • Surface finish requirements: Ra 3.2 µm is standard; Ra 0.8 µm or better may require additional passes or secondary operations.

4. Setup Cost and Amortization

Setup—programming, fixturing, tooling, first-article inspection—is a fixed cost per order. The per-part impact depends entirely on quantity:

Setup cost per part = Total setup cost ÷ Order quantity

A $300 setup is $300/part at quantity 1, $3/part at quantity 100, and $0.03/part at quantity 10,000. This is why single-unit quotes look alarming and why suppliers sometimes pad setup to protect margin on small orders. A defensible setup charge for a 3-axis bracket typically runs $150–$500 depending on complexity; five-axis or multi-setup work can exceed $1,000.

5. Finishing and Secondary Operations

Anodizing, plating, passivation, heat treatment, and assembly are usually quoted as add-ons. Common ranges: clear anodize $1–$4/part at volume; passivation for stainless $0.50–$2/part; powder coating $2–$6/part. These should appear as separate lines—bundled into a single per-part figure, they are impossible to audit.

Building Your Benchmark: A Worked Example

Suppose you are sourcing an aluminum rail mounting plate—one of the product types in our directory—from 6061-T6, 0.4 kg finished weight, buy-to-fly 1.5, cycle time 12 minutes on a 3-axis VMC, one setup, clear anodize.

  • Material: 0.6 kg × $4/kg = $2.40
  • Machining: 0.2 hr × $35/hr = $7.00
  • Setup: $300 ÷ 100 units = $3.00
  • Anodize: $2.00
  • Benchmark per part: ~$14.40

At quantity 1,000 the setup contribution drops to $0.30, bringing the per-part figure to roughly $11.70—a 19% reduction driven purely by amortization. If a supplier's volume break from 100 to 1,000 units is only 3%, either their setup was already negligible or they are retaining the savings. Our directory's observed range of $2.80–$12.00 for bracket-type parts sits below this example because those parts are simpler and higher-volume; the model still applies—the point is to compare like with like.

Two workers engage in welding and metalworking in a cluttered indoor workshop. (Photo: Shakur Leni / Pexels)

Red Flags in Supplier Quotes

  • Single lump-sum price with no breakdown. You cannot audit what you cannot see.
  • Setup charges that do not amortize. If setup is $500 at quantity 1 and still $5/part at quantity 10,000, the supplier is not passing volume savings through.
  • Material quoted at finished weight. Ignores scrap and signals either inexperience or a hidden margin line.
  • Minimum-order padding. A minimum charge that exceeds the calculated per-part cost × minimum quantity by more than 30% deserves a question.
  • Unspecified tolerance assumptions. Quotes that do not state the tolerance class they priced to leave room for change orders.
  • Identical prices across materially different materials. 304 SS and Ti-6Al-4V cannot cost the same to machine as 6061-T6.

Questions to Ask Every Supplier

  1. Can you provide a cost breakdown by material, machining, setup, and finishing?
  2. What machine rate and cycle time did you assume for this part?
  3. What buy-to-fly ratio did you use for material?
  4. What tolerance class is this quote priced to, and what would ±0.02 mm add?
  5. How does your per-part price change from 100 to 1,000 to 10,000 units?
  6. What is your minimum order charge, and what does it cover?
  7. Which operations are subcontracted, and how are they marked up?

Quote-Audit Checklist

  • ☐ Quote itemized into material, machining, setup, finishing
  • ☐ Material weight consistent with buy-to-fly ratio (1.2–1.5 for simple plate work)
  • ☐ Implied machine rate within regional range ($25–$45/hr for 3-axis in Asia; $60–$90 in the West)
  • ☐ Cycle time plausible for material (aluminum vs. stainless vs. titanium)
  • ☐ Setup cost amortized correctly at each quantity tier
  • ☐ Volume breaks show meaningful reduction (typically 15–30% from 100 to 1,000 units)
  • ☐ Tolerance class explicitly stated
  • ☐ Finishing quoted as separate line items
  • ☐ Minimum-order charge justified against calculated per-part cost

Negotiating Volume Breaks from 1 to 10,000+

Use your calculator to set the negotiation floor. At quantity 1, per-part cost is dominated by setup; at 10,000+, it approaches material + machining + finishing. A supplier who understands their own cost model will show a steep curve early and flatten it at high volume. Ask for quotes at 1, 100, 1,000, and 10,000 units and plot them. If the curve is flat, you are being charged for setup you are not consuming. If it drops steeply and then plateaus, the supplier is likely pricing honestly.

For a bracket in our directory's observed $2.80–$12.00 range, the low end typically reflects high-volume, simple-geometry work; the high end reflects low volume, tighter tolerances, or added finishing. Anchor your negotiation to the specific cost drivers in your drawing, not to the headline number.

FAQ

How accurate is a per-part cost calculator compared to a real quote?

A well-built calculator typically lands within 10–20% of a competitive quote for standard 3-axis work. The gap widens for complex five-axis parts, exotic materials, or very tight tolerances, where supplier-specific tooling and expertise matter more. Use the calculator as a sanity check, not a replacement for a quote.

Why do quotes for the same part vary so much between suppliers?

Variation comes from four sources: machine rate assumptions, setup amortization at the quoted quantity, material buy-to-fly and markup, and whether finishing is bundled or itemized. A 2–4x spread—like the $2.80–$12.00 range observed in our directory—usually reflects different volume assumptions and tolerance interpretations rather than different machining quality.

Should I always choose the lowest per-part price?

No. The lowest per-part price often carries the highest minimum-order padding or the least transparent tolerance assumptions. Evaluate total landed cost at your actual annual volume, confirm the tolerance class in writing, and verify that setup and finishing are itemized. A quote that is 15% higher but fully transparent is usually the better commercial decision.

Ready to source from verified suppliers? Get free quotes and compare offers within 24 hours.

Frequently Asked Questions

How accurate is a per-part cost calculator compared to a real quote?

A well-built calculator typically lands within 10–20% of a competitive quote for standard 3-axis work. The gap widens for complex five-axis parts, exotic materials, or very tight tolerances, where supplier-specific tooling and expertise matter more. Use the calculator as a sanity check, not a replacement for a quote.

Why do quotes for the same part vary so much between suppliers?

Variation comes from four sources: machine rate assumptions, setup amortization at the quoted quantity, material buy-to-fly and markup, and whether finishing is bundled or itemized. A 2–4x spread—like the $2.80–$12.00 range observed in our directory—usually reflects different volume assumptions and tolerance interpretations rather than different machining quality.

Should I always choose the lowest per-part price?

No. The lowest per-part price often carries the highest minimum-order padding or the least transparent tolerance assumptions. Evaluate total landed cost at your actual annual volume, confirm the tolerance class in writing, and verify that setup and finishing are itemized. A quote that is 15% higher but fully transparent is usually the better commercial decision.

Ready to Get Your CNC Parts Made in China

Get matched with verified suppliers who can meet your exact specifications.

Get Free Quotes
基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-11-17 22:27:40 HTTP/2.0 GET : https://cnc-parts-china.com/guides/cnc-machining-cost-per-part-calculator-a-buyers-guide-to-verifying-quotes-and-avoiding-the-hidden-markups
  2. 运行时间 : 0.059378s [ 吞吐率:16.84req/s ] 内存消耗:5,225.20kb 文件加载:153
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=e624342df28f0cfde7497bdb58b90250
  1. /www/wwwroot/www.cnc-parts-china.com/public/index.php ( 0.79 KB )
  2. /www/wwwroot/www.cnc-parts-china.com/vendor/autoload.php ( 0.75 KB )
  3. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/autoload_real.php ( 1.63 KB )
  4. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/ClassLoader.php ( 15.99 KB )
  6. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/autoload_static.php ( 6.03 KB )
  7. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/www.cnc-parts-china.com/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
  14. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/var-dumper/Resources/functions/dump.php ( 0.99 KB )
  17. /www/wwwroot/www.cnc-parts-china.com/vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php ( 0.10 KB )
  18. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  19. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/var-dumper/VarDumper.php ( 3.73 KB )
  20. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  21. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  22. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  23. /www/wwwroot/www.cnc-parts-china.com/app/provider.php ( 0.19 KB )
  24. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Http.php ( 6.22 KB )
  25. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  26. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  27. /www/wwwroot/www.cnc-parts-china.com/app/common.php ( 0.90 KB )
  28. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/helper.php ( 18.77 KB )
  29. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Config.php ( 5.93 KB )
  30. /www/wwwroot/www.cnc-parts-china.com/config/app.php ( 0.95 KB )
  31. /www/wwwroot/www.cnc-parts-china.com/config/cache.php ( 0.78 KB )
  32. /www/wwwroot/www.cnc-parts-china.com/config/console.php ( 1.07 KB )
  33. /www/wwwroot/www.cnc-parts-china.com/config/cookie.php ( 0.56 KB )
  34. /www/wwwroot/www.cnc-parts-china.com/config/database.php ( 2.13 KB )
  35. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  36. /www/wwwroot/www.cnc-parts-china.com/config/filesystem.php ( 0.61 KB )
  37. /www/wwwroot/www.cnc-parts-china.com/config/lang.php ( 0.91 KB )
  38. /www/wwwroot/www.cnc-parts-china.com/config/log.php ( 1.35 KB )
  39. /www/wwwroot/www.cnc-parts-china.com/config/middleware.php ( 0.19 KB )
  40. /www/wwwroot/www.cnc-parts-china.com/config/route.php ( 2.27 KB )
  41. /www/wwwroot/www.cnc-parts-china.com/config/session.php ( 0.69 KB )
  42. /www/wwwroot/www.cnc-parts-china.com/config/trace.php ( 0.34 KB )
  43. /www/wwwroot/www.cnc-parts-china.com/config/view.php ( 0.82 KB )
  44. /www/wwwroot/www.cnc-parts-china.com/app/event.php ( 0.25 KB )
  45. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Event.php ( 7.77 KB )
  46. /www/wwwroot/www.cnc-parts-china.com/app/service.php ( 0.13 KB )
  47. /www/wwwroot/www.cnc-parts-china.com/app/AppService.php ( 0.26 KB )
  48. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  49. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  50. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  51. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  52. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  53. /www/wwwroot/www.cnc-parts-china.com/vendor/services.php ( 0.15 KB )
  54. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  55. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  56. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  57. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  58. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  59. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  60. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  61. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  62. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  63. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  64. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  65. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  66. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  67. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.20 KB )
  68. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.75 KB )
  69. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  70. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  71. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.30 KB )
  72. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  73. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  74. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  75. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  76. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  78. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  79. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  80. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper/Arr.php ( 17.45 KB )
  81. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  82. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/cache/Driver.php ( 9.02 KB )
  83. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  84. /www/wwwroot/www.cnc-parts-china.com/app/Request.php ( 0.09 KB )
  85. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Request.php ( 54.64 KB )
  86. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/UrlHandler.php ( 6.05 KB )
  87. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/DomainHandler.php ( 5.49 KB )
  88. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/HttpMethodHandler.php ( 4.74 KB )
  89. /www/wwwroot/www.cnc-parts-china.com/app/middleware.php ( 0.30 KB )
  90. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  91. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  92. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  93. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  94. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  95. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  96. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  97. /www/wwwroot/www.cnc-parts-china.com/app/middleware/InstallCheck.php ( 0.82 KB )
  98. /www/wwwroot/www.cnc-parts-china.com/app/middleware/Maintenance.php ( 1.64 KB )
  99. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  100. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.73 KB )
  101. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/PDOConnection.php ( 53.74 KB )
  102. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  103. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  104. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  105. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Builder.php ( 24.07 KB )
  106. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  107. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Query.php ( 15.97 KB )
  108. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  109. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  110. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  111. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  112. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  113. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  114. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  115. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  116. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  117. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  118. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/log/driver/File.php ( 6.10 KB )
  119. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  120. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  121. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  122. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  123. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleName.php ( 5.74 KB )
  124. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  125. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.41 KB )
  126. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Rule.php ( 27.49 KB )
  127. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  128. /www/wwwroot/www.cnc-parts-china.com/route/admin.php ( 11.49 KB )
  129. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  130. /www/wwwroot/www.cnc-parts-china.com/route/app.php ( 3.73 KB )
  131. /www/wwwroot/www.cnc-parts-china.com/route/install.php ( 0.59 KB )
  132. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  133. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Dispatch.php ( 11.32 KB )
  134. /www/wwwroot/www.cnc-parts-china.com/app/controller/content/Guide.php ( 1.71 KB )
  135. /www/wwwroot/www.cnc-parts-china.com/app/controller/front/BaseFrontController.php ( 70.19 KB )
  136. /www/wwwroot/www.cnc-parts-china.com/app/BaseController.php ( 6.06 KB )
  137. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  138. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Config.php ( 1.37 KB )
  139. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  140. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Session.php ( 1.79 KB )
  141. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  142. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Express.php ( 1.53 KB )
  143. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Raw.php ( 1.30 KB )
  144. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Response.php ( 9.07 KB )
  145. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  146. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  147. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  148. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  149. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  150. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  151. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  152. /www/wwwroot/www.cnc-parts-china.com/runtime/temp/7ca10c289ae36b7629e662dcf2e3aff0.php ( 14.04 KB )
  153. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000543s ] mysql:host=127.0.0.1;port=3306;dbname=cncpartsch;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `kt_system_config` [ RunTime:0.001220s ]
  3. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'maintenance_mode' LIMIT 1 [ RunTime:0.000415s ]
  4. SHOW TABLES LIKE 'kt_site' [ RunTime:0.001177s ]
  5. SHOW FULL COLUMNS FROM `kt_site` [ RunTime:0.001506s ]
  6. SELECT `favicon` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000415s ]
  7. SHOW TABLES LIKE 'kt_system_config' [ RunTime:0.000836s ]
  8. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'site_favicon' LIMIT 1 [ RunTime:0.000313s ]
  9. SELECT `logo` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000230s ]
  10. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'site_logo' LIMIT 1 [ RunTime:0.000282s ]
  11. SELECT `name` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000232s ]
  12. SELECT * FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000282s ]
  13. SELECT `config_value`,`config_key` FROM `kt_system_config` WHERE `config_key` IN ('site_name','site_domain','site_subtitle','site_description','site_logo','site_favicon','site_keywords','seo_home_title','seo_home_description','seo_home_keywords','contact_phone','contact_wechat','icp_code') [ RunTime:0.000355s ]
  14. SHOW FULL COLUMNS FROM `kt_category` [ RunTime:0.001102s ]
  15. SHOW COLUMNS FROM `kt_category` [ RunTime:0.000909s ]
  16. SELECT * FROM `kt_category` WHERE `parent_id` = 0 AND `site_id` = 1 AND `status` = 1 ORDER BY `sort` DESC,`id` ASC LIMIT 5 [ RunTime:0.000606s ]
  17. SHOW FULL COLUMNS FROM `kt_news` [ RunTime:0.001238s ]
  18. SELECT * FROM `kt_news` WHERE `site_id` = 1 AND `slug` = 'cnc-machining-cost-per-part-calculator-a-buyers-guide-to-verifying-quotes-and-avoiding-the-hidden-markups' AND `content_type` = 'buying_guide' AND `publish_status` = 'published' LIMIT 1 [ RunTime:0.000450s ]
  19. UPDATE `kt_news` SET `views` = `views` + 1 WHERE `id` = 374 [ RunTime:0.001560s ]
  20. SHOW FULL COLUMNS FROM `kt_news_data` [ RunTime:0.001058s ]
  21. SELECT * FROM `kt_news_data` WHERE `news_id` = 374 LIMIT 1 [ RunTime:0.000416s ]
  22. SELECT * FROM `kt_news` WHERE `site_id` = 1 AND `publish_status` = 'published' AND `category_id` = 80 AND `id` <> 374 AND `content_type` IN ('article','buying_guide','comparison','case_study') ORDER BY content_type = 'buying_guide' DESC,`id` DESC LIMIT 8 [ RunTime:0.001294s ]
0.066640s